Debian DSA-5433-1 : libx11 - security update

high Nessus Plugin ID 177478

Synopsis

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

Description

The remote Debian 11 / 12 host has packages installed that are affected by a vulnerability as referenced in the dsa-5433 advisory.

- The X.Org project reports: The functions in src/InitExt.c in libX11 prior to 1.8.6 do not check that the values provided for the Request, Event, or Error IDs are within the bounds of the arrays that those functions write to, using those IDs as array indexes. Instead they trusted that they were called with values provided by an Xserver that was adhering to the bounds specified in the X11 protocol, as all X servers provided by X.Org do. As the protocol only specifies a single byte for these values, an out-of-bounds value provided by a malicious server (or a malicious proxy-in-the-middle) can only overwrite other portions of the Display structure and not write outside the bounds of the Display structure itself. Testing has found it is possible to at least cause the client to crash with this memory corruption.
(CVE-2023-3138)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the libx11 packages.

For the stable distribution (bookworm), this problem has been fixed in version 2

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038133

https://security-tracker.debian.org/tracker/source-package/libx11

https://www.debian.org/security/2023/dsa-5433

https://security-tracker.debian.org/tracker/CVE-2023-3138

https://packages.debian.org/source/bullseye/libx11

https://packages.debian.org/source/bookworm/libx11

Plugin Details

Severity: High

ID: 177478

File Name: debian_DSA-5433.nasl

Version: 1.2

Type: local

Agent: unix

Published: 6/21/2023

Updated: 7/10/2023

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2023-3138

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:N/A:H

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libx11-6, p-cpe:/a:debian:debian_linux:libx11-6-udeb, p-cpe:/a:debian:debian_linux:libx11-data, p-cpe:/a:debian:debian_linux:libx11-dev, p-cpe:/a:debian:debian_linux:libx11-doc, p-cpe:/a:debian:debian_linux:libx11-xcb-dev, p-cpe:/a:debian:debian_linux:libx11-xcb1, cpe:/o:debian:debian_linux:11.0, cpe:/o:debian:debian_linux:12.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 6/21/2023

Vulnerability Publication Date: 6/16/2023

Reference Information

CVE: CVE-2023-3138