GitHub Advisory Database
GHSA-85c5-ccm8-vr96
mastercactapus proxyprotocol vulnerable to denial of service
Details
headerv2.go in mastercactapus proxyprotocol before 0.0.2, as used in the mastercactapus caddy-proxyprotocol plugin through 0.0.2 for Caddy, allows remote attackers to cause a denial of service (webserver panic and daemon crash) via a crafted HAProxy PROXY v2 request with truncated source/destination address data.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mastercactapus/proxyprotocol | All versions before 0.0.2 (fixed in 0.0.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-14243
- https://github.com/mastercactapus/caddy-proxyprotocol/issues/8
- https://github.com/mastercactapus/proxyprotocol/issues/1
- https://github.com/mastercactapus/proxyprotocol/commit/5c4a101121fc3e868026189c7a73f7f19eef90ac
- https://caddy.community/t/dos-in-http-proxyprotocol-plugin/6014
- https://github.com/mastercactapus/proxyprotocol
- https://github.com/mastercactapus/proxyprotocol/compare/ef496d7...5c4a101
- https://github.com/mastercactapus/proxyprotocol/releases/tag/v0.0.2