CVE-2012-2942
publishedhaproxy: trash buffer overflow flaw can lead to arbitrary code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | squeeze | haproxy | Advisory build | 1.4.8-1+squeeze1 | DSA-2711-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
12- http://haproxy.1wt.eu/#news
- http://haproxy.1wt.eu/download/1.4/src/CHANGELOG
- http://haproxy.1wt.eu/git?p=haproxy-1.4.git%3Ba=commit%3Bh=30297cb17147a8d339eb160226bcc08c91d9530b
- 49261 http://secunia.com/advisories/49261
- GLSA-201301-02 http://security.gentoo.org/glsa/glsa-201301-02.xml
- DSA-2711 http://www.debian.org/security/2013/dsa-2711
- [oss-security] 20120523 CVE request: haproxy trash buffer overflow flaw http://www.openwall.com/lists/oss-security/2012/05/23/12
- [oss-security] 20120523 Re: CVE request: haproxy trash buffer overflow flaw http://www.openwall.com/lists/oss-security/2012/05/23/15
- [oss-security] 20120528 Duplicate CVE identifiers (CVE-2012-2391 and CVE-2012-2942) assigned to HAProxy issue http://www.openwall.com/lists/oss-security/2012/05/28/1
- 53647 http://www.securityfocus.com/bid/53647
- USN-1800-1 http://www.ubuntu.com/usn/USN-1800-1
- haproxy-trash-bo(75777) https://exchange.xforce.ibmcloud.com/vulnerabilities/75777
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3f6f93de88632d33dc02ad51977ce404183fa7360344cb6059e2e5bb02e967ba
- Ingested
- 23 Sep 2026, 07:39:18 UTC
- Source record
- Official CVE record