CVE-2021-40346
CVE-2021-40346
This page contains facts from public vulnerability sources. Check the original advisory before updating.
An integer overflow exists in HAProxy 2.0 through 2.5 in htx_add_header that can be exploited to perform an HTTP request smuggling attack, allowing an attacker to bypass all configured http-request HAProxy ACLs and possibly other ACLs.
CVSS 7.5 · High · EPSS 58.8% · Fix available
- Published
- Updated
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
haproxy Debian:12
- Affected ranges
- ECOSYSTEM: < 2.2.16-3
Update to 2.2.16-3
haproxy Debian:13
- Affected ranges
- ECOSYSTEM: < 2.2.16-3
Update to 2.2.16-3
haproxy Debian:14
- Affected ranges
- ECOSYSTEM: < 2.2.16-3
Update to 2.2.16-3
haproxy Ubuntu:20.04:LTS
- Versions
- 2.0.5-1
- 2.0.8-1
- 2.0.9-1
- 2.0.10-1
- 2.0.10-1ubuntu1
- 2.0.11-1ubuntu1
- 2.0.12-1ubuntu2
- 2.0.13-1ubuntu2
- 2.0.13-2
- 2.0.13-2ubuntu0.1
- 2.0.13-2ubuntu0.2
- Affected ranges
- ECOSYSTEM: < 2.0.13-2ubuntu0.3
Update to 2.0.13-2ubuntu0.3
haproxy Ubuntu:22.04:LTS
- Affected ranges
- ECOSYSTEM: < 2.2.9-2ubuntu2
Update to 2.2.9-2ubuntu2
Original sources
- https://www.mail-archive.com/haproxy%40formilux.org
- https://git.haproxy.org/?p=haproxy.git
- https://www.debian.org/security/2021/dsa-4968
- https://www.mail-archive.com/haproxy%40formilux.org/msg41114.html
- https://jfrog.com/blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-http-smuggling/
- https://github.com/haproxy/haproxy/commit/3b69886f7dcc3cfb3d166309018e6cfec9ce2c95
- https://lists.apache.org/thread.html/r284567dd7523f5823e2ce995f787ccd37b1cc4108779c50a97c79120%40%3Cdev.cloudstack.apache.org%3E
- https://lists.apache.org/thread.html/r8a58fd7a29808e5d27ee56877745e58dc4bb041b9af94601554e2a5a%40%3Cdev.cloudstack.apache.org%3E
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A7V2IYO22LWVBGUNZWVKNTMDV4KINLFO/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MXTSBY2TEAXWZVFQM3CXHJFRONX7PEMN/
- https://nvd.nist.gov/vuln/detail/CVE-2021-40346