CVE-2012-2942 Memory corruption in n/a
Remote attackers can cause denial of service or execute arbitrary code via buffer overflow in HAProxy when specific non-default configurations are enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-2942?
CVE-2012-2942 is a medium-severity memory corruption vulnerability in n/a, published on 27 May 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2012-2942?
It affects 1 product.
Products include Haproxy Haproxy.
How do I fix CVE-2012-2942?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2012-2942 being exploited?
There is no known exploitation of CVE-2012-2942 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as CVE-2012-2391, DEBIAN-CVE-2012-2942, GHSA-m6hh-qxwf-f2wj.