EulerOS 2.0 SP5 : libX11 (EulerOS-SA-2021-2507)

critical Nessus Plugin ID 153708
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 EulerOS host is missing a security update.

Description

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

- LookupCol.c in X.Org X through X11R7.7 and libX11 before 1.7.1 might allow remote attackers to execute arbitrary code. The libX11 XLookupColor request (intended for server-side color lookup) contains a flaw allowing a client to send color-name requests with a name longer than the maximum size allowed by the protocol (and also longer than the maximum packet size for normal-sized packets). The user-controlled data exceeding the maximum size is then interpreted by the server as additional X protocol requests and executed, e.g., to disable X server authorization completely. For example, if the victim encounters malicious terminal control sequences for color codes, then the attacker may be able to take full control of the running graphical session. (CVE-2021-31535)

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 libX11 packages.

See Also

http://www.nessus.org/u?ca80443a

Plugin Details

Severity: Critical

ID: 153708

File Name: EulerOS_SA-2021-2507.nasl

Version: 1.2

Type: local

Published: 9/27/2021

Updated: 9/27/2021

Dependencies: ssh_get_info.nasl

Risk Information

CVSS Score Source: CVE-2021-31535

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:libX11, p-cpe:/a:huawei:euleros:libX11-common, p-cpe:/a:huawei:euleros:libX11-devel, cpe:/o:huawei:euleros:2.0

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

Excluded KB Items: Host/EulerOS/uvp_version

Exploit Ease: No known exploits are available

Patch Publication Date: 9/27/2021

Vulnerability Publication Date: 5/27/2021

Reference Information

CVE: CVE-2021-31535