Integer underflow in X.org Server - CVE-2020-14362

 

Integer underflow in X.org Server - CVE-2020-14362

Published: August 25, 2020


Vulnerability identifier: #VU46031
CSH Severity: Low
CVSS v4: 9.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H]
CVE-ID: CVE-2020-14362
CWE-ID: CWE-191
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to integer underflow in the XRecordRegisterClients(). A local user can send a specially crafted request to the affected application, trigger integer underflow and execute arbitrary code on the target system with elevated privileges.


Affected software

X.org Server
Amazon Linux AMI
Gentoo Linux
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Server
CentOS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Ubuntu
Opensuse
openEuler
Cloud Pak for Security (CP4S)
xorg-x11-server (Red Hat package)
xorg-server (Debian package)
xorg-server (Alpine package)
egl-wayland (Red Hat package)
libglvnd (Red Hat package)
libwacom (Red Hat package)
libX11 (Red Hat package)
xserver-xorg-core (Ubuntu package)
libinput (Red Hat package)
xserver-xorg-core-hwe-16.04 (Ubuntu package)
xserver-xorg-core-hwe-18.04 (Ubuntu package)
xorg-x11-server
xorg-x11-server-help
xorg-x11-server-Xephyr
xorg-x11-server-devel
xorg-x11-server-debugsource
xorg-x11-server-debuginfo
libdrm (Red Hat package)
xorg-x11-drivers (Red Hat package)
mesa (Red Hat package)
OpenShift Virtualization
Data Computing Appliance (DCA)

How to mitigate CVE-2020-14362

Install updates from vendor's website.

X.org Server - update to 1.20.9
Cloud Pak for Security (CP4S) - update to 1.8.0.0
xorg-x11-server (Red Hat package) - addressed in versions 1.17.4-18.el6_10, 1.20.4-12.el7_9, 1.20.10-1.el8
xorg-server (Debian package) - update to 1.20.4-1+deb10u1
xorg-server (Alpine package) - update to 1.20.9-r0
egl-wayland (Red Hat package) - update to 1.1.5-3.el8
libglvnd (Red Hat package) - update to 1.3.2-1.el8
libwacom (Red Hat package) - update to 1.6-2.el8
libX11 (Red Hat package) - update to 1.6.8-4.el8
xserver-xorg-core (Ubuntu package) - addressed in versions 2:1.15.1-0ubuntu2.11+esm2, 2:1.18.4-0ubuntu0.9, 2:1.19.6-1ubuntu4.5, 2:1.20.8-2ubuntu2.3
libinput (Red Hat package) - update to 1.16.3-1.el8
xserver-xorg-core-hwe-16.04 (Ubuntu package) - update to 2:1.19.6-1ubuntu4.1~16.04.3
xserver-xorg-core-hwe-18.04 (Ubuntu package) - update to 2:1.20.8-2ubuntu2.2~18.04.2
xorg-x11-server - update to 1.20.8-3
xorg-x11-server-help - update to 1.20.8-3
xorg-x11-server-Xephyr - update to 1.20.8-3
xorg-x11-server-devel - update to 1.20.8-3
xorg-x11-server-debugsource - update to 1.20.8-3
xorg-x11-server-debuginfo - update to 1.20.8-3
libdrm (Red Hat package) - update to 2.4.103-1.el8
OpenShift Virtualization - addressed in versions 2.6.6, 4.8.0
Data Computing Appliance (DCA) - update to 4.3.0.0
xorg-x11-drivers (Red Hat package) - update to 7.7-30.el8
mesa (Red Hat package) - update to 20.3.3-2.el8

External References

Related Security Bulletins