CVE Details for CVE: 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.
Timestamps
Last major update 17-09-2021 - 22:15
Published 08-09-2021 - 17:15
Last modified 17-09-2021 - 22:15
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:*:*:*:*:*:*:*
CAPEC
Click the CAPEC title to display a description
  • 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.
CWE
CVSS
Base
5.0
Impact
2.9
Exploitability
10.0
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
CVSS3
Base
7.5
Impact
3.6
Exploitability
3.9
Access
Attack ComplexityAttack vectorPrivileges RequiredScopeUser Interaction
LOW NETWORK NONE UNCHANGED NONE
Impact
ConfidentialityIntegrityAvailability
NONE HIGH NONE
VIA4 references
cvss-vector via4
AV:N/AC:L/Au:N/C:N/I:P/A:N
cvss3-vector via4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N