CVE-2021-40346

Summary

CVECVE-2021-40346
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-09-08 17:15:00 UTC
Updated2023-11-07 03:38:00 UTC
DescriptionAn 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.

Risk And Classification

Problem Types: CWE-190

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 11.0 All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Application Haproxy Haproxy All All All All
Application Haproxy Haproxy 2.5 dev0 All All
Application Haproxy Haproxy 2.5 dev1 All All
Application Haproxy Haproxy 2.5 dev2 All All
Application Haproxy Haproxy 2.5 dev3 All All
Application Haproxy Haproxy 2.5 dev4 All All
Application Haproxy Haproxy 2.5 dev5 All All
Application Haproxy Haproxy 2.5 dev6 All All

References

ReferenceSourceLinkTags
Pony Mail! MLIST lists.apache.org
BUG/MAJOR: htx: fix missing header name length check in htx_add_heade… · haproxy/haproxy@3b69886 · GitHub MISC github.com
[ANNOUNCE] HTX vulnerability from 2.0 to 2.5-dev MISC www.mail-archive.com
[cloudstack-dev] 20210910 Re: CVE-2021-40346 (haproxy 2.x) lists.apache.org
[cloudstack-dev] 20210910 CVE-2021-40346 (haproxy 2.x) lists.apache.org
Debian -- Security Information -- DSA-4968-1 haproxy DEBIAN www.debian.org
haproxy www.mail-archive.com
Pony Mail! MLIST lists.apache.org
[SECURITY] Fedora 33 Update: haproxy-2.2.17-1.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Repositories - haproxy.git/summary MISC git.haproxy.org
Critical vulnerability in HAProxy | JFrog Security Research Team MISC jfrog.com
[ANNOUNCE] HTX vulnerability from 2.0 to 2.5-dev www.mail-archive.com
[SECURITY] Fedora 33 Update: haproxy-2.2.17-1.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 34 Update: haproxy-2.3.14-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
haproxy MISC www.mail-archive.com
[SECURITY] Fedora 34 Update: haproxy-2.3.14-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178790 Debian Security Update for haproxy (DSA 4968-1)
  • 182413 Debian Security Update for haproxy (CVE-2021-40346)
  • 198492 Ubuntu Security Notification for HAProxy Vulnerabilities (USN-5063-1)
  • 239873 Red Hat OpenShift Container Platform 4.9 Security Update (RHSA-2021:4118)
  • 239987 Red Hat OpenShift Container Platform 4.8 Security Update (RHSA-2021:5208)
  • 240004 Red Hat OpenShift Container Platform 4.6 Security Update (RHSA-2022:0024)
  • 240017 Red Hat OpenShift Container Platform 4.7 Security Update (RHSA-2022:0114)
  • 281907 Fedora Security Update for haproxy (FEDORA-2021-3493f9f6ab)
  • 281915 Fedora Security Update for haproxy (FEDORA-2021-cd5ee418f6)
  • 356275 Amazon Linux Security Advisory for haproxy2 : ALASHAPROXY2-2023-005
  • 356499 Amazon Linux Security Advisory for haproxy2 : ALAS2HAPROXY2-2023-005
  • 671171 EulerOS Security Update for haproxy (EulerOS-SA-2021-2924)
  • 671174 EulerOS Security Update for haproxy (EulerOS-SA-2021-2916)
  • 671312 EulerOS Security Update for haproxy (EulerOS-SA-2022-1224)
  • 671330 EulerOS Security Update for haproxy (EulerOS-SA-2022-1205)
  • 751109 OpenSUSE Security Update for haproxy (openSUSE-SU-2021:2975-1)
  • 751188 OpenSUSE Security Update for haproxy (openSUSE-SU-2021:1329-1)
  • 770124 Red Hat OpenShift Container Platform 4.9 Security Update (RHSA-2021:4118)
  • 770130 Red Hat OpenShift Container Platform 4.8 Security Update (RHSA-2021:5208)
  • 770131 Red Hat OpenShift Container Platform 4.6 Security Update (RHSA-2022:0024)
  • 770132 Red Hat OpenShift Container Platform 4.7 Security Update (RHSA-2022:0114)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report