ID CVE-2021-40346
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:haproxy:haproxy:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.9:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.10:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.10:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.11:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.11:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.12:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.12:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.13:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.13:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.14:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.14:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.15:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.15:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.16:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.16:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.17:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.17:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.18:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.18:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.19:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.19:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.20:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.20:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.21:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.21:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.22:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.22:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.23:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.23:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.0.24:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.0.24:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.4:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.5:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.6:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.7:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.7:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.8:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.8:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.9:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.10:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.11:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.12:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.12:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.13:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.13:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.14:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.14:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.15:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.15:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.2.16:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.2.16:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.3:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.4:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.4:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.5:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.5:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.6:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.6:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.7:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.7:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.8:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.8:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.9:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.9:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.10:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.10:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.11:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.11:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.12:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.12:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.3.13:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.3.13:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.4.2:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.4.3:*:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.4.3:*:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.5:dev0:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.5:dev0:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.5:dev1:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.5:dev1:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.5:dev2:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.5:dev2:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.5:dev3:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.5:dev3:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.5:dev4:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.5:dev4:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.5:dev5:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.5:dev5:*:*:*:*:*:*
  • cpe:2.3:a:haproxy:haproxy:2.5:dev6:*:*:*:*:*:*
    cpe:2.3:a:haproxy:haproxy:2.5:dev6:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
CVSS
Base: 5.0 (as of 02-12-2021 - 20:43)
Impact:
Exploitability:
CWE CWE-190
CAPEC
  • Forced Integer Overflow
    This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
cvss-vector via4 AV:N/AC:L/Au:N/C:N/I:P/A:N
Last major update 02-12-2021 - 20:43
Published 08-09-2021 - 17:15
Last modified 02-12-2021 - 20:43
Back to Top