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 Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Slackware Linux
Opensuse
Fedora
libx11 (Alpine 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
Dynamic System Analysis (DSA) Preboot - update to dsyte2z-9.65
libX11 - update to 1.6.7-1.fc28
Flex System Chassis Management Module (CMM) - update to 2pet18a-2.5.14a

External References

Related Security Bulletins