Out-of-bounds write in X.org Server - CVE-2022-2320
Published: July 13, 2022 / Updated: July 13, 2022
Vulnerability identifier: #VU65223
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-2320
CWE-ID: CWE-787
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 a boundary error within the ProcXkbSetDeviceInfo request handler of the Xkb extension. A local user can trigger an out-of-bounds write and execute arbitrary code with elevated privileges.
The vulnerability exists due to a boundary error within the ProcXkbSetDeviceInfo request handler of the Xkb extension. A local user can trigger an out-of-bounds write and execute arbitrary code with elevated privileges.
Affected software
X.org Server
Debian Linux
Oracle Linux
Amazon Linux AMI
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
CentOS
Anolis OS
SUSE Linux Enterprise Storage
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
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
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Software Development Kit
Slackware Linux
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Workstation Extension
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Development Tools
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
Ubuntu
openEuler
Fedora
xorg-x11-server (Red Hat package)
xorg-x11-server-Xwayland (Red Hat package)
xwayland (Ubuntu package)
xserver-xorg-core (Ubuntu package)
xwayland-hwe-16.04 (Ubuntu package)
xserver-xorg-core-hwe-16.04 (Ubuntu package)
xorg-x11-xtrans-devel (Red Hat package)
xorg-x11-server
xorg-x11-server-debuginfo
xorg-x11-server-debugsource
xorg-x11-server-extra
xorg-x11-server-extra-debuginfo
xorg-x11-server-sdk
xorg-x11-server-source
xorg-x11-server-wayland-debuginfo
xorg-x11-server-wayland
xorg-x11-server-Xnest
xorg-x11-server-Xdmx
xorg-x11-server-Xephyr
xorg-x11-server-Xorg
xorg-x11-server-Xvfb
xorg-x11-server-Xwayland
xorg-x11-server-common
xorg-x11-server-devel
xorg-x11-server-help
xorg-x11-server-Xwayland-debuginfo
xorg-x11-server-Xwayland-debugsource
xorg-x11-server-Xwayland-devel
x11-base/xorg-server
x11-base/xwayland
xorg-server-xwayland
xserver-xorg-core-hwe-18.04 (Ubuntu package)
xwayland-hwe-18.04 (Ubuntu package)
xorg-server (Debian package)
IBM Security Guardium
Debian Linux
Oracle Linux
Amazon Linux AMI
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
CentOS
Anolis OS
SUSE Linux Enterprise Storage
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
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
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Software Development Kit
Slackware Linux
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Workstation Extension
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Development Tools
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
Ubuntu
openEuler
Fedora
xorg-x11-server (Red Hat package)
xorg-x11-server-Xwayland (Red Hat package)
xwayland (Ubuntu package)
xserver-xorg-core (Ubuntu package)
xwayland-hwe-16.04 (Ubuntu package)
xserver-xorg-core-hwe-16.04 (Ubuntu package)
xorg-x11-xtrans-devel (Red Hat package)
xorg-x11-server
xorg-x11-server-debuginfo
xorg-x11-server-debugsource
xorg-x11-server-extra
xorg-x11-server-extra-debuginfo
xorg-x11-server-sdk
xorg-x11-server-source
xorg-x11-server-wayland-debuginfo
xorg-x11-server-wayland
xorg-x11-server-Xnest
xorg-x11-server-Xdmx
xorg-x11-server-Xephyr
xorg-x11-server-Xorg
xorg-x11-server-Xvfb
xorg-x11-server-Xwayland
xorg-x11-server-common
xorg-x11-server-devel
xorg-x11-server-help
xorg-x11-server-Xwayland-debuginfo
xorg-x11-server-Xwayland-debugsource
xorg-x11-server-Xwayland-devel
x11-base/xorg-server
x11-base/xwayland
xorg-server-xwayland
xserver-xorg-core-hwe-18.04 (Ubuntu package)
xwayland-hwe-18.04 (Ubuntu package)
xorg-server (Debian package)
IBM Security Guardium
How to mitigate CVE-2022-2320
Install updates from vendor's website.
X.org Server - update to 21.1.4
xorg-x11-server (Red Hat package) - addressed in versions 1.20.4-18.el7_9, 1.20.11-9.el8, 1.20.11-11.el9
xorg-x11-server-Xwayland (Red Hat package) - addressed in versions 21.1.3-3.el9, 21.1.3-6.el8
xwayland (Ubuntu package) - addressed in versions 2:1.18.4-0ubuntu0.12+esm2, 2:1.19.6-1ubuntu4.11, 2:1.20.13-1ubuntu1~20.04.3, 2:21.1.2-0ubuntu1.2, 2:22.1.1-1ubuntu0.1
xserver-xorg-core (Ubuntu package) - addressed in versions 2:1.18.4-0ubuntu0.12+esm2, 2:1.19.6-1ubuntu4.11, 2:1.20.13-1ubuntu1~20.04.3, 2:1.20.13-1ubuntu1.2, 2:21.1.3-2ubuntu2.1
xwayland-hwe-16.04 (Ubuntu package) - update to 2:1.19.6-1ubuntu4.1~16.04.6+esm1
xserver-xorg-core-hwe-16.04 (Ubuntu package) - update to 2:1.19.6-1ubuntu4.1~16.04.6+esm1
xorg-x11-xtrans-devel (Red Hat package) - update to 1.4.0-4.el8
xorg-x11-server - update to 1.17.4-18.50
xorg-x11-server - addressed in versions 1.19.6-4.31.1, 1.19.6-10.32.1, 1.19.6-150000.8.39.1, 1.20.3-150100.14.5.25.1, 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1, 7.6_1.18.3-76.49.1
xorg-x11-server-debuginfo - addressed in versions 1.19.6-4.31.1, 1.19.6-10.32.1, 1.19.6-150000.8.39.1, 1.20.3-150100.14.5.25.1, 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1, 7.6_1.18.3-76.49.1
xorg-x11-server-debugsource - addressed in versions 1.19.6-4.31.1, 1.19.6-10.32.1, 1.19.6-150000.8.39.1, 1.20.3-150100.14.5.25.1, 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1, 7.6_1.18.3-76.49.1
xorg-x11-server-extra - addressed in versions 1.19.6-4.31.1, 1.19.6-10.32.1, 1.19.6-150000.8.39.1, 1.20.3-150100.14.5.25.1, 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1, 7.6_1.18.3-76.49.1
xorg-x11-server-extra-debuginfo - addressed in versions 1.19.6-4.31.1, 1.19.6-10.32.1, 1.19.6-150000.8.39.1, 1.20.3-150100.14.5.25.1, 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1, 7.6_1.18.3-76.49.1
xorg-x11-server-sdk - addressed in versions 1.19.6-10.32.1, 1.19.6-150000.8.39.1, 1.20.3-150100.14.5.25.1, 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1
xorg-x11-server-source - addressed in versions 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1
xorg-x11-server-wayland-debuginfo - update to 1.20.3-150200.22.5.55.1
xorg-x11-server-wayland - update to 1.20.3-150200.22.5.55.1
xorg-x11-server-Xnest - update to 1.20.4-18
xorg-x11-server-Xdmx - update to 1.20.4-18
xorg-x11-server-Xephyr - update to 1.20.4-18
xorg-x11-server-Xorg - update to 1.20.4-18
xorg-x11-server-Xvfb - update to 1.20.4-18
xorg-x11-server-Xwayland - update to 1.20.4-18
xorg-x11-server-common - update to 1.20.4-18
xorg-x11-server-devel - update to 1.20.4-18
xorg-x11-server-source - update to 1.20.4-18
xorg-x11-server - update to 1.20.8-11
xorg-x11-server-help - update to 1.20.8-11
xorg-x11-server-debuginfo - update to 1.20.8-11
xorg-x11-server-devel - update to 1.20.8-11
xorg-x11-server-debugsource - update to 1.20.8-11
xorg-x11-server-Xephyr - update to 1.20.8-11
xorg-x11-server - addressed in versions 1.20.14-7.fc35, 1.20.14-7.fc36
xorg-x11-server-Xwayland - addressed in versions 21.1.4-2.fc35, 22.1.3-1.fc36
xorg-x11-server-Xwayland - update to 22.1.2-6
xorg-x11-server-Xwayland-debuginfo - update to 22.1.2-6
xorg-x11-server-Xwayland-debugsource - update to 22.1.2-6
xorg-x11-server-Xwayland-devel - update to 22.1.2-6
x11-base/xorg-server - update to 21.1.4
x11-base/xwayland - update to 22.1.3
xorg-server-xwayland - update to 21.1.4
xserver-xorg-core-hwe-18.04 (Ubuntu package) - update to 2:1.20.8-2ubuntu2.2~18.04.7
xwayland-hwe-18.04 (Ubuntu package) - update to 2:1.20.8-2ubuntu2.2~18.04.7
xorg-server (Debian package) - update to 2:1.20.11-1+deb11u2
xorg-x11-server (Red Hat package) - addressed in versions 1.20.4-18.el7_9, 1.20.11-9.el8, 1.20.11-11.el9
xorg-x11-server-Xwayland (Red Hat package) - addressed in versions 21.1.3-3.el9, 21.1.3-6.el8
xwayland (Ubuntu package) - addressed in versions 2:1.18.4-0ubuntu0.12+esm2, 2:1.19.6-1ubuntu4.11, 2:1.20.13-1ubuntu1~20.04.3, 2:21.1.2-0ubuntu1.2, 2:22.1.1-1ubuntu0.1
xserver-xorg-core (Ubuntu package) - addressed in versions 2:1.18.4-0ubuntu0.12+esm2, 2:1.19.6-1ubuntu4.11, 2:1.20.13-1ubuntu1~20.04.3, 2:1.20.13-1ubuntu1.2, 2:21.1.3-2ubuntu2.1
xwayland-hwe-16.04 (Ubuntu package) - update to 2:1.19.6-1ubuntu4.1~16.04.6+esm1
xserver-xorg-core-hwe-16.04 (Ubuntu package) - update to 2:1.19.6-1ubuntu4.1~16.04.6+esm1
xorg-x11-xtrans-devel (Red Hat package) - update to 1.4.0-4.el8
xorg-x11-server - update to 1.17.4-18.50
xorg-x11-server - addressed in versions 1.19.6-4.31.1, 1.19.6-10.32.1, 1.19.6-150000.8.39.1, 1.20.3-150100.14.5.25.1, 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1, 7.6_1.18.3-76.49.1
xorg-x11-server-debuginfo - addressed in versions 1.19.6-4.31.1, 1.19.6-10.32.1, 1.19.6-150000.8.39.1, 1.20.3-150100.14.5.25.1, 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1, 7.6_1.18.3-76.49.1
xorg-x11-server-debugsource - addressed in versions 1.19.6-4.31.1, 1.19.6-10.32.1, 1.19.6-150000.8.39.1, 1.20.3-150100.14.5.25.1, 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1, 7.6_1.18.3-76.49.1
xorg-x11-server-extra - addressed in versions 1.19.6-4.31.1, 1.19.6-10.32.1, 1.19.6-150000.8.39.1, 1.20.3-150100.14.5.25.1, 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1, 7.6_1.18.3-76.49.1
xorg-x11-server-extra-debuginfo - addressed in versions 1.19.6-4.31.1, 1.19.6-10.32.1, 1.19.6-150000.8.39.1, 1.20.3-150100.14.5.25.1, 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1, 7.6_1.18.3-76.49.1
xorg-x11-server-sdk - addressed in versions 1.19.6-10.32.1, 1.19.6-150000.8.39.1, 1.20.3-150100.14.5.25.1, 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1
xorg-x11-server-source - addressed in versions 1.20.3-150200.22.5.55.1, 1.20.3-150400.38.5.1
xorg-x11-server-wayland-debuginfo - update to 1.20.3-150200.22.5.55.1
xorg-x11-server-wayland - update to 1.20.3-150200.22.5.55.1
xorg-x11-server-Xnest - update to 1.20.4-18
xorg-x11-server-Xdmx - update to 1.20.4-18
xorg-x11-server-Xephyr - update to 1.20.4-18
xorg-x11-server-Xorg - update to 1.20.4-18
xorg-x11-server-Xvfb - update to 1.20.4-18
xorg-x11-server-Xwayland - update to 1.20.4-18
xorg-x11-server-common - update to 1.20.4-18
xorg-x11-server-devel - update to 1.20.4-18
xorg-x11-server-source - update to 1.20.4-18
xorg-x11-server - update to 1.20.8-11
xorg-x11-server-help - update to 1.20.8-11
xorg-x11-server-debuginfo - update to 1.20.8-11
xorg-x11-server-devel - update to 1.20.8-11
xorg-x11-server-debugsource - update to 1.20.8-11
xorg-x11-server-Xephyr - update to 1.20.8-11
xorg-x11-server - addressed in versions 1.20.14-7.fc35, 1.20.14-7.fc36
xorg-x11-server-Xwayland - addressed in versions 21.1.4-2.fc35, 22.1.3-1.fc36
xorg-x11-server-Xwayland - update to 22.1.2-6
xorg-x11-server-Xwayland-debuginfo - update to 22.1.2-6
xorg-x11-server-Xwayland-debugsource - update to 22.1.2-6
xorg-x11-server-Xwayland-devel - update to 22.1.2-6
x11-base/xorg-server - update to 21.1.4
x11-base/xwayland - update to 22.1.3
xorg-server-xwayland - update to 21.1.4
xserver-xorg-core-hwe-18.04 (Ubuntu package) - update to 2:1.20.8-2ubuntu2.2~18.04.7
xwayland-hwe-18.04 (Ubuntu package) - update to 2:1.20.8-2ubuntu2.2~18.04.7
xorg-server (Debian package) - update to 2:1.20.11-1+deb11u2
External References
Related Security Bulletins
- Multiple privilege escalation vulnerabilities in X.Org Server
- Ubuntu update for xorg-server
- Ubuntu update for xorg-server
- SUSE update for xorg-x11-server
- SUSE update for xorg-x11-server
- SUSE update for xorg-x11-server
- SUSE update for xorg-x11-server
- SUSE update for xorg-x11-server
- SUSE update for xorg-x11-server
- SUSE update for xorg-x11-server
- Slackware Linux update for xorg-server
- CentOS 7 update for xorg-x11-server
- Debian update for xorg-server
- Red Hat Enterprise Linux 7 update for xorg-x11-server
- Slackware Linux update for xorg-server-xwayland
- Gentoo update for X.Org X server, XWayland
- Red Hat Enterprise Linux for 8 update for xorg-x11-server
- Red Hat Enterprise Linux 9 update for xorg-x11-server-Xwayland
- Red Hat Enterprise Linux 9 update for xorg-x11-server
- Amazon Linux AMI update for xorg-x11-server
- IBM Security Guardium update for X.Org Server
- Multiple vulnerabilities in Oracle Linux
- openEuler update for xorg-x11-server
- openEuler 22.03 LTS SP4 update for xorg-x11-server-xwayland
- openEuler 22.03 LTS SP1 update for xorg-x11-server-xwayland
- openEuler 22.03 LTS SP3 update for xorg-x11-server-xwayland
- Fedora 36 update for xorg-x11-server
- Fedora 35 update for xorg-x11-server
- Fedora 36 update for xorg-x11-server-Xwayland
- Fedora 35 update for xorg-x11-server-Xwayland
- Anolis OS update for xorg-x11-server