CVE-2021-40346Integer Overflow or Wraparound in Haproxy

Severity
7.5HIGHNVD
EPSS
92.4%
top 0.27%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 8
Latest updateJan 11

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

debiandebian/haproxy< haproxy 2.2.16-3 (bookworm)
NVDhaproxy/haproxy2.0.02.0.25+4
Debianhaproxy/haproxy< 2.2.9-2+deb11u2+3

Also affects: Debian Linux 11.0, Fedora 33, 34

Patches

🔴Vulnerability Details

2
GHSA
GHSA-jwmg-q4wv-f75h: An integer overflow exists in HAProxy 22022-05-24
OSV
CVE-2021-40346: An integer overflow exists in HAProxy 22021-09-08

📋Vendor Advisories

3
Red Hat
haproxy: request smuggling attack or response splitting via duplicate content-length header2021-09-08
Ubuntu
HAProxy vulnerabilities2021-09-08
Debian
CVE-2021-40346: haproxy - An integer overflow exists in HAProxy 2.0 through 2.5 in htx_add_header that can...2021

📄Research Papers

2
arXiv
Securing an Application Layer Gateway: An Industrial Case Study2024-01-11
CTF
2021_IntentCTF / Door_(un)Locked2021