CVE-2021-40346Haproxy
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Haproxy · Haproxy We alert you by email or Slack (account required).
- Priority
- 66
- CVSS 3.1
- 7.5
- EPSS
- 58.8% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Sep 8, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Haproxy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
| haproxy | haproxy | 2.5 |
| haproxy | haproxy | 2.5 |
| haproxy | haproxy | 2.5 |
| haproxy | haproxy | 2.5 |
| haproxy | haproxy | 2.5 |
| haproxy | haproxy | 2.5 |
| debian | debian_linux | 11.0 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.
- git.haproxy.org Patch Vendor Advisory
- github.com Patch Third Party Advisory
- jfrog.com Exploit Mitigation Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- www.debian.org Third Party Advisory
- www.mail-archive.com
- www.mail-archive.com