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.

PackageEcosystemFixed in
haproxyArch Linux2.4.4-1
haproxyBitnami2.4.4, 2.3.14, 2.2.17, 2.0.25
haproxyhaproxy2.4.4, 2.3.14, 2.2.17, 2.0.25

Affected products

VendorProductVersions
n/an/an/a
archhaproxy0
haproxyhaproxy
n/an/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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›