Gentoo: GLSA-201301-02: HAProxy: Arbitrary code execution
Summary
A boundary error in HAProxy could cause a buffer overflow when header rewriting is enabled and the configuration sets global.tune.bufsize to a value greater than the default (16384 bytes).
Resolution
All HAProxy users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-proxy/haproxy-1.4.21"
References
[ 1 ] CVE-2012-2942 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2942
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/201301-02
Concerns
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
Synopsis
A buffer overflow in HAProxy may allow execution of arbitrary code.
Background
HAProxy is a TCP/HTTP reverse proxy for high availability environments.
Affected Packages
------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 net-proxy/haproxy < 1.4.21 >= 1.4.21
Impact
===== A remote attacker could possibly execute arbitrary code with the privileges of the process or cause a Denial of Service condition.
Workaround
There is no known workaround at this time.