GLSA-201301-02 : HAProxy: Arbitrary code execution

medium Nessus Plugin ID 63436
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


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


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.


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

See Also

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

Dependencies: ssh_get_info.nasl

Risk Information


Risk Factor: Medium

Score: 5.9


Risk Factor: Medium

Base Score: 5.1

Temporal Score: 3.8

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

Temporal Vector: E:U/RL:OF/RC:C

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