Gentoo Logo

HAProxy: Arbitrary code execution

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201301-02 / haproxy
Release Date January 08, 2013
Latest Revision January 08, 2013: 1
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-proxy/haproxy < 1.4.21 >= 1.4.21 All supported architectures

Related bugreports: #417079

Synopsis

A buffer overflow in HAProxy may allow execution of arbitrary code.

2.  Impact Information

Background

HAProxy is a TCP/HTTP reverse proxy for high availability environments.

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All HAProxy users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=net-proxy/haproxy-1.4.21"

4.  References



Print

Page updated January 08, 2013

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.