CVE-2021-23409 is a high-severity (CVSS 7.5) vulnerability in github.com/pires/go-proxyproto. A fix is available for github.com/pires/go-proxyproto — see the affected versions and patch details below.
github.com/pires/go-proxyproto vulnerable to DoS via Connection descriptor exhaustion
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2021-23409 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,386 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
github.com/pires/go-proxyprotoReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
The package github.com/pires/go-proxyproto before 0.6.1 is vulnerable to Denial of Service (DoS) via creating connections without the proxy protocol header. While this issue was patched in 0.6.0, the fix introduced additional issues which were subsequently patched in 0.6.1.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/pires/go-proxyproto | all versions | 0.6.1go get github.com/pires/go-proxyproto@v0.6.1 |
Affected Products
go-proxyprotogo-proxyproto_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/pires/go-proxyproto, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/pires/go-proxyproto to 0.6.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-23409 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2021-23409 in your dependencies?
Find it across Go, including transitive dependencies.