CVE-2012-2942
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 5.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 5.4% in the next 30 days (EPSS).
- Severity: 5.1 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 5.4% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Haproxy ≤ 1.4.20
Attack profile CVSS 2.0 · 5.1
- Attack vector
- Network
- Complexity
- High
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:H/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-2942.md and follow it. Check whether this project is affected by CVE-2012-2942. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- 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
- http://secunia.com/advisories/49261
- http://security.gentoo.org/glsa/glsa-201301-02.xml
- http://www.debian.org/security/2013/dsa-2711
- http://www.openwall.com/lists/oss-security/2012/05/23/12
- http://www.openwall.com/lists/oss-security/2012/05/23/15
- http://www.openwall.com/lists/oss-security/2012/05/28/1
- http://www.securityfocus.com/bid/53647
- http://www.ubuntu.com/usn/USN-1800-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75777
- 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
- http://secunia.com/advisories/49261
- http://security.gentoo.org/glsa/glsa-201301-02.xml
- http://www.debian.org/security/2013/dsa-2711
- http://www.openwall.com/lists/oss-security/2012/05/23/12
- http://www.openwall.com/lists/oss-security/2012/05/23/15
- http://www.openwall.com/lists/oss-security/2012/05/28/1
- http://www.securityfocus.com/bid/53647
- http://www.ubuntu.com/usn/USN-1800-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75777