Original description
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.
Affected software
- HAProxy ≥ 2.3.0 < 2.3.14= 2.5≥ 2.0.0 < 2.0.25≥ 2.4.0 < 2.4.4≥ 2.2.0 < 2.2.17 Fixed in: 2.3.14, 2.0.25, 2.4.4, 2.2.17 exact match
Details
- Published
- 2021-09-09
- Last modified
- 2024-08-04
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- EPSS (30-day exploit probability)
- 58.83% (percentile 99)
References
- cve.org/CVE-2021-40346
- nvd.nist.gov/vuln/detail/CVE-2021-40346
- www.mail-archive.com/haproxy%40formilux.org
- git.haproxy.org/?p=haproxy.git
- www.debian.org/security/2021/dsa-4968
- www.mail-archive.com/haproxy%40formilux.org/msg41114.html
- jfrog.com/blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-h...
- github.com/haproxy/haproxy/commit/3b69886f7dcc3cfb3d166309018e6cfec9ce2c95
- lists.apache.org/thread.html/r284567dd7523f5823e2ce995f787ccd37b1cc4108779c50a97c79120%40%...
- lists.apache.org/thread.html/r8a58fd7a29808e5d27ee56877745e58dc4bb041b9af94601554e2a5a%40%...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.