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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-40340Information Exposure vulnerability in Hitachi Energy LinkOne…7.5
- CVE-2021-40341DES cipher, which has inadequate encryption strength, is use…5.5
- CVE-2021-40342 In the DES implementation, the affected product versions us…9.8
- CVE-2021-40343An issue was discovered in Nagios XI 5.8.5. Insecure file pe…7.8
- CVE-2021-40344An issue was discovered in Nagios XI 5.8.5. In the Custom In…7.2
- CVE-2021-40345An issue was discovered in Nagios XI 5.8.5. In the Manage Da…7.2
- CVE-2021-40347An issue was discovered in views/list.py in GNU Mailman Post…5.4
- CVE-2021-40348Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allow…8.8
- CVE-2021-40349e7d Speed Test (aka speedtest) 0.5.3 allows a path-traversal…5.3
- CVE-2021-4035A stored cross site scripting have been identified at the co…4.8
- CVE-2021-40350webctrl.cgi.elf on Christie Digital DWU850-GS V06.46 devices…9.8
- CVE-2021-40352OpenEMR 6.0.0 has a pnotes_print.php?noteid= Insecure Direct…6.5
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
