CVE-2021-40346
HAProxy HTTP Request Smuggling Integer Overflow Vulnerability
Description
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.
INFO
Published Date :
Sept. 8, 2021, 5:15 p.m.
Last Modified :
Nov. 7, 2023, 3:38 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-40346 has a 17 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2021-40346
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-40346
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
All CVE - PoC in GitHub
poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate
None
Vulnerable environment and PoC scripts to demonstrate possible impacts of HTTP request smuggling
http requestsmuggling gunicorn haproxy cve-2021-40346
Dockerfile Python
None
None
None
CVE-2021-40346 - HaProxy HTTP request smuggling through integer overflow
Dockerfile Python Shell HTML
None
HAProxy CVE-2021-40346
None
Dockerfile Makefile C Perl Lua Python Vim Script Shell Roff C++
CVE-2021-40346 integer overflow enables http smuggling
Dockerfile Python
CVE-2021-40346 PoC (HAProxy HTTP Smuggling)
Dockerfile JavaScript Shell
None
Dockerfile Python Shell JavaScript HTML
微信收藏的文章
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-40346
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-40346
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://www.mail-archive.com/haproxy%40formilux.org [No types assigned] Added Reference MITRE https://www.mail-archive.com/haproxy%40formilux.org/msg41114.html [No types assigned] Added Reference MITRE https://lists.apache.org/thread.html/r284567dd7523f5823e2ce995f787ccd37b1cc4108779c50a97c79120%40%3Cdev.cloudstack.apache.org%3E [No types assigned] Added Reference MITRE https://lists.apache.org/thread.html/r8a58fd7a29808e5d27ee56877745e58dc4bb041b9af94601554e2a5a%40%3Cdev.cloudstack.apache.org%3E [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A7V2IYO22LWVBGUNZWVKNTMDV4KINLFO/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MXTSBY2TEAXWZVFQM3CXHJFRONX7PEMN/ [No types assigned] Removed Reference MITRE https://www.mail-archive.com/[email protected] Removed Reference MITRE https://www.mail-archive.com/[email protected]/msg41114.html Removed Reference MITRE https://lists.apache.org/thread.html/r284567dd7523f5823e2ce995f787ccd37b1cc4108779c50a97c79120@%3Cdev.cloudstack.apache.org%3E Removed Reference MITRE https://lists.apache.org/thread.html/r8a58fd7a29808e5d27ee56877745e58dc4bb041b9af94601554e2a5a@%3Cdev.cloudstack.apache.org%3E Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/A7V2IYO22LWVBGUNZWVKNTMDV4KINLFO/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/MXTSBY2TEAXWZVFQM3CXHJFRONX7PEMN/ -
Modified Analysis by [email protected]
Dec. 02, 2021
Action Type Old Value New Value Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/A7V2IYO22LWVBGUNZWVKNTMDV4KINLFO/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/A7V2IYO22LWVBGUNZWVKNTMDV4KINLFO/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/MXTSBY2TEAXWZVFQM3CXHJFRONX7PEMN/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/MXTSBY2TEAXWZVFQM3CXHJFRONX7PEMN/ Mailing List, Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 17, 2021
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/MXTSBY2TEAXWZVFQM3CXHJFRONX7PEMN/ [No Types Assigned] -
CVE Modified by [email protected]
Sep. 16, 2021
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/A7V2IYO22LWVBGUNZWVKNTMDV4KINLFO/ [No Types Assigned] -
Initial Analysis by [email protected]
Sep. 15, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://git.haproxy.org/?p=haproxy.git No Types Assigned https://git.haproxy.org/?p=haproxy.git Patch, Vendor Advisory Changed Reference Type https://github.com/haproxy/haproxy/commit/3b69886f7dcc3cfb3d166309018e6cfec9ce2c95 No Types Assigned https://github.com/haproxy/haproxy/commit/3b69886f7dcc3cfb3d166309018e6cfec9ce2c95 Patch, Third Party Advisory Changed Reference Type https://jfrog.com/blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-http-smuggling/ No Types Assigned https://jfrog.com/blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-http-smuggling/ Exploit, Mitigation, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/r284567dd7523f5823e2ce995f787ccd37b1cc4108779c50a97c79120@%3Cdev.cloudstack.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r284567dd7523f5823e2ce995f787ccd37b1cc4108779c50a97c79120@%3Cdev.cloudstack.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://lists.apache.org/thread.html/r8a58fd7a29808e5d27ee56877745e58dc4bb041b9af94601554e2a5a@%3Cdev.cloudstack.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r8a58fd7a29808e5d27ee56877745e58dc4bb041b9af94601554e2a5a@%3Cdev.cloudstack.apache.org%3E Mailing List, Third Party Advisory Changed Reference Type https://www.debian.org/security/2021/dsa-4968 No Types Assigned https://www.debian.org/security/2021/dsa-4968 Third Party Advisory Changed Reference Type https://www.mail-archive.com/[email protected] No Types Assigned https://www.mail-archive.com/[email protected] Third Party Advisory Changed Reference Type https://www.mail-archive.com/[email protected]/msg41114.html No Types Assigned https://www.mail-archive.com/[email protected]/msg41114.html Mitigation, Third Party Advisory Added CWE NIST CWE-190 Added CPE Configuration OR *cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.25 *cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:* versions from (including) 2.2.0 up to (excluding) 2.2.17 *cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:* versions from (including) 2.3.0 up to (excluding) 2.3.14 *cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:* versions from (including) 2.4.0 up to (excluding) 2.4.4 *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:dev2:*:*:*:*:*:* *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:dev5:*:*:*:*:*:* *cpe:2.3:a:haproxy:haproxy:2.5:dev6:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 10, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/r8a58fd7a29808e5d27ee56877745e58dc4bb041b9af94601554e2a5a@%3Cdev.cloudstack.apache.org%3E [No Types Assigned] -
CVE Modified by [email protected]
Sep. 10, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/r284567dd7523f5823e2ce995f787ccd37b1cc4108779c50a97c79120@%3Cdev.cloudstack.apache.org%3E [No Types Assigned] -
CVE Modified by [email protected]
Sep. 09, 2021
Action Type Old Value New Value Changed Description An integer overflow exists in HAProxy 2.0 through 2.5 in the htx_add_header() 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. 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. -
CVE Modified by [email protected]
Sep. 08, 2021
Action Type Old Value New Value Added Reference https://jfrog.com/blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-http-smuggling/ [No Types Assigned] Added Reference https://github.com/haproxy/haproxy/commit/3b69886f7dcc3cfb3d166309018e6cfec9ce2c95 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-40346
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-40346
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.87 }} -0.76%
score
0.88581
percentile