Security readout for executives and security teams
Plain-English summary
CVE-2021-40346 affects HAProxy 2.0 through 2.5. A parsing integer overflow can enable HTTP request smuggling, letting attackers bypass configured HAProxy request ACLs. For organizations using HAProxy as an internet-facing gatekeeper, this can undermine routing and access-control assumptions at the edge.
Executive priority
Treat this as a high-priority edge infrastructure issue if HAProxy 2.0 through 2.5 is deployed. The business risk is failed access control at the reverse proxy, not just service instability.
Technical view
The source bundle describes an integer overflow in HAProxy's htx_add_header path. The reported impact is HTTP request smuggling that bypasses configured http-request HAProxy ACLs and possibly other ACLs. Upstream commit and Debian/Fedora advisories indicate vendor-side fixes existed, but the bundle does not provide exact fixed version numbers.
Likely exposure
Exposure is most likely where HAProxy 2.0 through 2.5 processes untrusted HTTP traffic, especially at public edges, API gateways, or reverse-proxy layers enforcing ACL decisions.
Exploitation context
The bundle says the flaw can be exploited for HTTP request smuggling and ACL bypass. It does not show CISA KEV listing or cited evidence of active exploitation, so active exploitation should not be claimed from these sources alone.
Researcher notes
Key open gaps are exact fixed versions and distribution package mappings, which are not present in the bundle. Validate against the upstream commit and relevant Debian or Fedora advisories before closing exposure.
Mitigation direction
- Inventory all HAProxy deployments and confirm whether versions are 2.0 through 2.5.
- Apply upstream or distribution vendor updates linked to this CVE.
- Prioritize internet-facing HAProxy instances enforcing http-request ACLs.
- Check HAProxy, Debian, or Fedora guidance for exact fixed package versions.
- Review compensating controls if edge ACL bypass would expose sensitive routes.
Validation and detection
- Confirm HAProxy versions after patching or package updates.
- Verify packages include the upstream fix commit referenced for CVE-2021-40346.
- Review HAProxy configurations using http-request ACLs on exposed listeners.
- Run non-offensive regression tests for expected ACL enforcement.
- Monitor proxy logs for anomalous malformed HTTP traffic patterns.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-40346 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Unknown
- CVSS
- Not scored
- Known Exploited
- No
- Published
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS and timeline data
No CVSS vectors or timeline events were available in the normalized CVE source material.
Source materials
- CVE List V5 sourceCVE List V5
- https://www.mail-archive.com/haproxy%40formilux.orgCVE reference · x_refsource_MISC
- https://git.haproxy.org/?p=haproxy.gitCVE reference · x_refsource_MISC
- DSA-4968CVE reference · vendor-advisory, x_refsource_DEBIAN
- https://www.mail-archive.com/haproxy%40formilux.org/msg41114.htmlCVE reference · x_refsource_MISC
- https://jfrog.com/blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-http-smuggling/CVE reference · x_refsource_MISC
- https://github.com/haproxy/haproxy/commit/3b69886f7dcc3cfb3d166309018e6cfec9ce2c95CVE reference · x_refsource_MISC
- [cloudstack-dev] 20210910 CVE-2021-40346 (haproxy 2.x)CVE reference · mailing-list, x_refsource_MLIST
- [cloudstack-dev] 20210910 Re: CVE-2021-40346 (haproxy 2.x)CVE reference · mailing-list, x_refsource_MLIST
- FEDORA-2021-3493f9f6abCVE reference · vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-cd5ee418f6CVE reference · vendor-advisory, x_refsource_FEDORA
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
