FreeBSD : libX11 -- Arbitrary code execution (58d6ed66-c2e8-11eb-9fb0-6451062f0f7a)

critical Nessus Plugin ID 150171

Language:

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

The X.org project reports :

XLookupColor() and other X libraries function lack proper validation of the length of their string parameters. If those parameters can be controlled by an external application (for instance a color name that can be emitted via a terminal control sequence) it can lead to the emission of extra X protocol requests to the X server.

Solution

Update the affected package.

See Also

https://lists.freedesktop.org/archives/xorg/2021-May/060699.html

http://www.nessus.org/u?35a51c29

Plugin Details

Severity: Critical

ID: 150171

File Name: freebsd_pkg_58d6ed66c2e811eb9fb06451062f0f7a.nasl

Version: 1.3

Type: local

Published: 6/3/2021

Updated: 6/14/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2021-31535

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:libx11, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/1/2021

Vulnerability Publication Date: 5/11/2021

Reference Information

CVE: CVE-2021-31535