Off-by-one error in Xlib - CVE-2018-14599

 

Off-by-one error in Xlib - CVE-2018-14599

Published: August 21, 2018 / Updated: August 23, 2018


Vulnerability identifier: #VU14503
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-14599
CWE-ID: CWE-193
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to an off-by-one memory write error in the XGetFontPath(), XListExtensions(), and XListFonts() functions. A remote unauthenticated attacker can cause a remote X server to return a specially crafted response to trigger memory corruption and execute arbitrary code on the target X client.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Xlib
Gentoo Linux
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Debian Linux
Ubuntu
Slackware Linux
Opensuse
Fedora
libx11 (Alpine package)
libx11-dev (Ubuntu package)
libx11-6 (Ubuntu package)
libx11 (Debian package)
libX11
Dynamic System Analysis (DSA) Preboot
Flex System Chassis Management Module (CMM)

How to mitigate CVE-2018-14599

Install update from vendor's website.

libx11 (Alpine package) - update to 1.6.6-r0
libx11-dev (Ubuntu package) - addressed in versions 2:1.4.99.1-0ubuntu2.4, 2:1.6.2-1ubuntu2.1, 2:1.6.3-1ubuntu2.1, 2:1.6.4-3ubuntu0.1
libx11-6 (Ubuntu package) - addressed in versions 2:1.4.99.1-0ubuntu2.4, 2:1.6.2-1ubuntu2.1, 2:1.6.3-1ubuntu2.1, 2:1.6.4-3ubuntu0.1
libx11 (Debian package) - update to 2:1.6.2-3+deb8u2
libX11 - update to 1.6.7-1.fc28
Dynamic System Analysis (DSA) Preboot - update to dsyte2z-9.65
Flex System Chassis Management Module (CMM) - update to 2pet18a-2.5.14a

External References

Related Security Bulletins