GLSA 201301-02: HAProxy: Arbitrary code execution

Severity:high
Title:HAProxy: Arbitrary code execution
Date:01/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 Architecture(s)
net-proxy/haproxy < 1.4.21 >= 1.4.21 All supported architectures

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

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 2010 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.

Thank you!