CVE-2012-2942
published 2012-05-27CVE-2012-2942: Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1.4.21, when global.tune.bufsize is set to a value greater than the…
PriorityP433medium5.1CVSS 2.0
AVNACHAuNCPIPAP
EPSS
5.41%
91.8th percentile
Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1.4.21, when global.tune.bufsize is set to a value greater than the default and header rewriting is enabled, allows remote attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | haproxy | < haproxy 1.4.23-1 (bookworm) | haproxy 1.4.23-1 (bookworm) |
| haproxy | haproxy | <= 1.4.20 | — |
| haproxy | haproxy | >= 0 < 1.4.23-1 | 1.4.23-1 |
| haproxy | haproxy | >= 0 < 1.4.23-1 | 1.4.23-1 |
| haproxy | haproxy | >= 0 < 1.4.23-1 | 1.4.23-1 |
| haproxy | haproxy | >= 0 < 1.4.23-1 | 1.4.23-1 |
CVSS provenance
nvdv2.05.1MEDIUMAV:N/AC:H/Au:N/C:P/I:P/A:P
osv5.1MEDIUM
vendor_debian5.1MEDIUM
vendor_ubuntu5.1MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
HAProxy vulnerabilities
vendor_ubuntu·2013-04-15·CVSS 5.1
CVE-2012-2942 [MEDIUM] HAProxy vulnerabilities
Title: HAProxy vulnerabilities
Summary: HAProxy could be made to crash or run programs if it received specially
crafted network traffic.
It was discovered that HAProxy incorrectly handled configurations where
global.tune.bufsize was set to a value higher than the default. A remote
attacker could use this issue to cause a denial of service, or possibly
execute arbitrary code. (CVE-2012-2942)
Yves Lafon discovered that HAProxy incorrectly handled HTTP keywords in TCP
inspection rules when HTTP keep-alive is enabled. A remote attacker could
use this issue to cause a denial of service, or possibly execute arbitrary
code. (CVE-2013-1912)
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2012-2942: haproxy - Buffer overflow in the trash buffer in the header capture functionality in HAPro...
vendor_debian·2012·CVSS 5.1
CVE-2012-2942 [MEDIUM] CVE-2012-2942: haproxy - Buffer overflow in the trash buffer in the header capture functionality in HAPro...
Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1.4.21, when global.tune.bufsize is set to a value greater than the default and header rewriting is enabled, allows remote attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors.
Scope: local
bookworm: resolved (fixed in 1.4.23-1)
bullseye: resolved (fixed in 1.4.23-1)
forky: resolved (fixed in 1.4.23-1)
sid: resolved (fixed in 1.4.23-1)
trixie: resolved (fixed in 1.4.23-1)
GHSA
GHSA-m6hh-qxwf-f2wj: Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1
ghsa_unreviewed·2022-05-17
CVE-2012-2942 [MEDIUM] CWE-119 GHSA-m6hh-qxwf-f2wj: Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1
Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1.4.21, when global.tune.bufsize is set to a value greater than the default and header rewriting is enabled, allows remote attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors.
OSV
CVE-2012-2942: Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1
osv·2012-05-27·CVSS 5.1
CVE-2012-2942 [MEDIUM] CVE-2012-2942: Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1
Buffer overflow in the trash buffer in the header capture functionality in HAProxy before 1.4.21, when global.tune.bufsize is set to a value greater than the default and header rewriting is enabled, allows remote attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2012-2942 haproxy: trash buffer overflow flaw can lead to arbitrary code execution [epel-all]
bugzilla·2012-05-23·CVSS 5.1
CVE-2012-2942 [MEDIUM] CVE-2012-2942 haproxy: trash buffer overflow flaw can lead to arbitrary code execution [epel-all]
CVE-2012-2942 haproxy: trash buffer overflow flaw can lead to arbitrary code execution [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected Fedora
versions.
For comments that are specific to the vulnerability please use bugs filed
against "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please include this bug ID and the
bug IDs of this bug's parent bugs filed against the "Security Response"
product (the top-level CVE bugs). Please mention the CVE IDs being fixed
in the RPM changelog when available.
Bodhi update submission link:
https://admin.fedoraproject.org/updat
Bugzilla
CVE-2012-2942 haproxy: trash buffer overflow flaw can lead to arbitrary code execution [fedora-all]
bugzilla·2012-05-23·CVSS 5.1
CVE-2012-2942 [MEDIUM] CVE-2012-2942 haproxy: trash buffer overflow flaw can lead to arbitrary code execution [fedora-all]
CVE-2012-2942 haproxy: trash buffer overflow flaw can lead to arbitrary code execution [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected Fedora
versions.
For comments that are specific to the vulnerability please use bugs filed
against "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please include this bug ID and the
bug IDs of this bug's parent bugs filed against the "Security Response"
product (the top-level CVE bugs). Please mention the CVE IDs being fixed
in the RPM changelog when available.
Bodhi update submission link:
https://admin.fedoraproject.org/upd
http://haproxy.1wt.eu/#newshttp://haproxy.1wt.eu/download/1.4/src/CHANGELOGhttp://haproxy.1wt.eu/git?p=haproxy-1.4.git%3Ba=commit%3Bh=30297cb17147a8d339eb160226bcc08c91d9530bhttp://secunia.com/advisories/49261http://security.gentoo.org/glsa/glsa-201301-02.xmlhttp://www.debian.org/security/2013/dsa-2711http://www.openwall.com/lists/oss-security/2012/05/23/12http://www.openwall.com/lists/oss-security/2012/05/23/15http://www.openwall.com/lists/oss-security/2012/05/28/1http://www.securityfocus.com/bid/53647http://www.ubuntu.com/usn/USN-1800-1https://exchange.xforce.ibmcloud.com/vulnerabilities/75777http://haproxy.1wt.eu/#newshttp://haproxy.1wt.eu/download/1.4/src/CHANGELOGhttp://haproxy.1wt.eu/git?p=haproxy-1.4.git%3Ba=commit%3Bh=30297cb17147a8d339eb160226bcc08c91d9530bhttp://secunia.com/advisories/49261http://security.gentoo.org/glsa/glsa-201301-02.xmlhttp://www.debian.org/security/2013/dsa-2711http://www.openwall.com/lists/oss-security/2012/05/23/12http://www.openwall.com/lists/oss-security/2012/05/23/15http://www.openwall.com/lists/oss-security/2012/05/28/1http://www.securityfocus.com/bid/53647http://www.ubuntu.com/usn/USN-1800-1https://exchange.xforce.ibmcloud.com/vulnerabilities/75777
2012-05-27
Published