CVE-2021-40346
Last modified
CVE-2021-40346 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 56.08% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Haproxy | Haproxy | >= 2.0.0, < 2.0.25 | — |
| Haproxy | Haproxy | >= 2.2.0, < 2.2.17 | — |
| Haproxy | Haproxy | >= 2.3.0, < 2.3.14 | — |
| Haproxy | Haproxy | >= 2.4.0, < 2.4.4 | — |
| Haproxy | Haproxy | 2.5 | Dev0 |
| Debian | Debian Linux | 11.0 | — |
| Fedoraproject | Fedora | 33 | — |
| Fedoraproject | Fedora | 34 | — |
References
- https://git.haproxy.org/?p=haproxy.gitPatch, Vendor Advisory
- https://github.com/haproxy/haproxy/commit/3b69886f7dcc3cfb3d166309018e6cfec9ce2c95Patch, Third Party Advisory
- https://jfrog.com/blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-http-smuggling/Exploit, Mitigation, Third Party Advisory
- https://www.debian.org/security/2021/dsa-4968Third Party Advisory
- https://git.haproxy.org/?p=haproxy.gitPatch, Vendor Advisory
- https://github.com/haproxy/haproxy/commit/3b69886f7dcc3cfb3d166309018e6cfec9ce2c95Patch, Third Party Advisory
- https://jfrog.com/blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-http-smuggling/Exploit, Mitigation, Third Party Advisory
- https://www.debian.org/security/2021/dsa-4968Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-40346?
How severe is CVE-2021-40346?
How do I fix CVE-2021-40346?
Are you affected by CVE-2021-40346?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
