CVE-2021-40346 is an integer overflow vulnerability in HAProxy versions 2.0 through 2.5, specifically within the htx_add_header function. This flaw enables HTTP request smuggling, allowing attackers to bypass HAProxy ACLs and potentially other security controls. With a CVSS score of 7.5 (High) and an EPSS score indicating high exploitability, this vulnerability poses a significant risk due to its network-based attack vector and low attack complexity, leading to high integrity impact. While there is no known active exploitation or public exploit code (Metasploit, Nuclei, ExploitDB), the vulnerability has garnered community discussion and media coverage, suggesting awareness and potential for future exploitation.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 2.0.0, < 2.0.25CPE matchmatch criteria | cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:* | ||
>= 2.2.0, < 2.2.17CPE matchmatch criteria | cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:* | ||
>= 2.3.0, < 2.3.14CPE matchmatch criteria | cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:* | ||
>= 2.4.0, < 2.4.4CPE matchmatch criteria | cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:* | ||
2.5CPE matchmatch criteria | cpe:2.3:a:haproxy:haproxy:2.5:dev0:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.