GLSA-202012-22 : HAProxy: Arbitrary code execution

high Nessus Plugin ID 144610
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.

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-202012-22 (HAProxy: Arbitrary code execution)

It was discovered that HAProxy incorrectly handled certain HTTP/2 headers.
Impact :

A remote attacker, by sending a specially crafted HTTP/2 request, could possibly execute arbitrary code with the privileges of the process, or cause a Denial of Service condition.
Workaround :

Disable HTTP/2 support.

Solution

All HAProxy 2.0.x users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-proxy/haproxy-2.0.13:0/2.0' All other HAProxy users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-proxy/haproxy-2.1.4'

See Also

https://security.gentoo.org/glsa/202012-22

Plugin Details

Severity: High

ID: 144610

File Name: gentoo_GLSA-202012-22.nasl

Version: 1.2

Type: local

Published: 12/28/2020

Updated: 12/30/2020

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.1

Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: E:P/RL:O/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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/24/2020

Vulnerability Publication Date: 4/2/2020

Reference Information

CVE: CVE-2020-11100

GLSA: 202012-22