GLSA-201301-02 : HAProxy: Arbitrary code execution

medium Nessus Plugin ID 63436

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201301-02 (HAProxy: Arbitrary code execution)

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.

Solution

All HAProxy users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-proxy/haproxy-1.4.21'

See Also

https://security.gentoo.org/glsa/201301-02

Plugin Details

Severity: Medium

ID: 63436

File Name: gentoo_GLSA-201301-02.nasl

Version: 1.9

Type: local

Published: 1/9/2013

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 3.8

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:haproxy, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 1/8/2013

Reference Information

CVE: CVE-2012-2942

BID: 53647

GLSA: 201301-02