Home / mailings [gentoo-announce] [ GLSA 201301-02 ] HAProxy: Arbitrary code execution
Posted on 09 January 2013
Gentoo-announceThis is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig81137DAE78500CAF358B926C
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201301-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: HAProxy: Arbitrary code execution
Date: January 08, 2013
Bugs: #417079
ID: 201301-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
Description
===========
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).
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.
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:
http://security.gentoo.org/glsa/glsa-201301-02.xml
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.
License
=======
Copyright 2013 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
--------------enig81137DAE78500CAF358B926C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"