EulerOS 2.0 SP9 : haproxy (EulerOS-SA-2021-2687)

high Nessus Plugin ID 155237

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

According to the versions of the haproxy package installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- An issue was discovered in HAProxy 2.0 before 2.0.24, 2.2 before 2.2.16, 2.3 before 2.3.13, and 2.4 before 2.4.3. An HTTP method name may contain a space followed by the name of a protected resource. It is possible that a server would interpret this as a request for that protected resource, such as in the 'GET /admin? HTTP/1.1 /static/images HTTP/1.1' example. (CVE-2021-39241)

- An issue was discovered in HAProxy 2.2 before 2.2.16, 2.3 before 2.3.13, and 2.4 before 2.4.3. It can lead to a situation with an attacker-controlled HTTP Host header, because a mismatch between Host and authority is mishandled. (CVE-2021-39242)

Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected haproxy packages.

See Also

http://www.nessus.org/u?2f23e609

Plugin Details

Severity: High

ID: 155237

File Name: EulerOS_SA-2021-2687.nasl

Version: 1.2

Type: local

Published: 11/11/2021

Updated: 11/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2021-39242

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:haproxy, cpe:/o:huawei:euleros:2.0

Required KB Items: Host/EulerOS/rpm-list, Host/EulerOS/sp, Host/local_checks_enabled, Host/EulerOS/release

Excluded KB Items: Host/EulerOS/uvp_version

Exploit Ease: No known exploits are available

Patch Publication Date: 11/11/2021

Vulnerability Publication Date: 8/17/2021

Reference Information

CVE: CVE-2021-39241, CVE-2021-39242