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.
Exploits (6)
github
34 stars
by DarkFunct · cpoc
https://github.com/DarkFunct/CVE_Exploits/tree/main/CVE-2021-40346-POC
nomisec
WRITEUP
5 stars
by Vulnmachines · poc
https://github.com/Vulnmachines/HAProxy_CVE-2021-40346
References (10)
Scores
CVSS v3
7.5
EPSS
0.9238
EPSS Percentile
99.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Lab Environment
COMMUNITY
Community Lab
+2 more repos
Details
CWE
CWE-190
Status
published
Products (5)
debian/debian_linux
11.0
fedoraproject/fedora
33
fedoraproject/fedora
34
haproxy/haproxy
2.5 dev0 (7 CPE variants)
haproxy/haproxy
2.0.0 - 2.0.25
Published
Sep 08, 2021
Tracked Since
Feb 18, 2026