VDB
CVE-2021-40346
CVE-2021-40346
PUBLISHED
Reported by mitre · Published September 8, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| haproxy | Arch Linux | 2.4.4-1 |
| haproxy | Bitnami | 2.4.4, 2.3.14, 2.2.17, 2.0.25 |
| haproxy | haproxy | 2.4.4, 2.3.14, 2.2.17, 2.0.25 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | haproxy | 0 |
| haproxy | haproxy | |
| n/a | n/a | * |
Timeline
- Sep 7, 2021 CVE Published
- Sep 9, 2021 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 10, 2026 Security Advisory (19 in total, the first dated here)
- Jul 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-40346
vulnetix vdb fixes CVE-2021-40346
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-40346/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- DSA-4968 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- [cloudstack-dev] 20210910 CVE-2021-40346 (haproxy 2.x) mailing-listx_refsource_MLIST
- [cloudstack-dev] 20210910 Re: CVE-2021-40346 (haproxy 2.x) mailing-listx_refsource_MLIST
- FEDORA-2021-3493f9f6ab vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-cd5ee418f6 vendor-advisoryx_refsource_FEDORA