7.5

CVE-2021-40346

Exploit
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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Haproxy ≫ Haproxy Version >= 2.0.0 < 2.0.25
Haproxy ≫ Haproxy Version >= 2.2.0 < 2.2.17
Haproxy ≫ Haproxy Version >= 2.3.0 < 2.3.14
Haproxy ≫ Haproxy Version >= 2.4.0 < 2.4.4
Haproxy ≫ Haproxy Version 2.5 Update dev0
Haproxy ≫ Haproxy Version 2.5 Update dev1
Haproxy ≫ Haproxy Version 2.5 Update dev2
Haproxy ≫ Haproxy Version 2.5 Update dev3
Haproxy ≫ Haproxy Version 2.5 Update dev4
Haproxy ≫ Haproxy Version 2.5 Update dev5
Haproxy ≫ Haproxy Version 2.5 Update dev6
Debian ≫ Debian Linux Version 11.0
Fedoraproject ≫ Fedora Version 33
Fedoraproject ≫ Fedora Version 34
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 57.93% 0.99
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
NIST 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NIST 5 10 2.9
AV:N/AC:L/Au:N/C:N/I:P/A:N
CWE-190 Integer Overflow or Wraparound

The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

https://git.haproxy.org/?p=haproxy.git
Patch
Vendor Advisory
https://github.com/haproxy/haproxy/commit/3b69886f7dcc3cfb3d166309018e6cfec9ce2c95
Patch
Third Party Advisory
https://jfrog.com/blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-http-smuggling/
Third Party Advisory
Exploit
Mitigation
https://lists.apache.org/thread.html/r284567dd7523f5823e2ce995f787ccd37b1cc4108779c50a97c79120%40%3Cdev.cloudstack.apache.org%3E
https://lists.apache.org/thread.html/r8a58fd7a29808e5d27ee56877745e58dc4bb041b9af94601554e2a5a%40%3Cdev.cloudstack.apache.org%3E
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A7V2IYO22LWVBGUNZWVKNTMDV4KINLFO/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MXTSBY2TEAXWZVFQM3CXHJFRONX7PEMN/
https://www.debian.org/security/2021/dsa-4968
Third Party Advisory
https://www.mail-archive.com/haproxy%40formilux.org
https://www.mail-archive.com/haproxy%40formilux.org/msg41114.html