Heap-based buffer overflow in X.org Server - CVE-2020-25712
Published: December 2, 2020
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a boundary error within XkbSetDeviceInfo functionality. A local user can pass specially crafted data to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system with elevated privileges.
Affected software
Arch Linux
Gentoo Linux
Red Hat Enterprise Linux for Scientific Computing
CentOS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for x86_64
Ubuntu
openEuler
Fedora
Cloud Pak for Security (CP4S)
xorg-server (Debian package)
xorg-x11-server (Red Hat 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-debuginfo
xorg-x11-server-help
xorg-x11-server-debugsource
xorg-x11-server-devel
xorg-x11-server-Xephyr
xorg-x11-server
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-25712
Cloud Pak for Security (CP4S) - update to 1.8.0.0
xorg-server (Debian package) - update to 2:1.20.4-1+deb10u2
xorg-x11-server (Red Hat package) - addressed in versions 1.20.4-15.el7_9, 1.20.10-1.el8
xorg-server (Alpine package) - update to 1.20.10-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+esm3, 2:1.18.4-0ubuntu0.11, 2:1.19.6-1ubuntu4.8, 2:1.20.8-2ubuntu2.6, 2:1.20.9-2ubuntu1.1
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.5
xserver-xorg-core-hwe-18.04 (Ubuntu package) - update to 2:1.20.8-2ubuntu2.2~18.04.4
xorg-x11-server-debuginfo - update to 1.20.8-4
xorg-x11-server-help - update to 1.20.8-4
xorg-x11-server-debugsource - update to 1.20.8-4
xorg-x11-server-devel - update to 1.20.8-4
xorg-x11-server-Xephyr - update to 1.20.8-4
xorg-x11-server - update to 1.20.8-4
xorg-x11-server - addressed in versions 1.20.10-1.fc32, 1.20.10-1.fc33
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
- Multiple vulnerabilities in X.Org Server
- Heap-based buffer overflow in xorg-server (Alpine package)
- Arch Linux update for xorg-server
- Debian update for xorg-server
- Gentoo update for X.Org X Server
- Red Hat Enterprise Linux 7 update for xorg-x11-server
- CentOS 7 update for xorg-x11-server
- Red Hat Enterprise Linux 8 update for userspace graphics, xorg-x11, and mesa
- Multiple vulnerabilities in IBM Cloud Pak for Security
- Multiple vulnerabilities in Dell EMC Data Computing Appliance (DCA)
- openEuler update for xorg-x11-server
- Multiple vulnerabilities in OpenShift Virtualization 4.8
- Multiple vulnerabilities in OpenShift Virtualization 2.6
- Ubuntu update for xorg-server
- Ubuntu update for xorg-server
- Fedora 33 update for xorg-x11-server
- Fedora 32 update for xorg-x11-server