Memory leak in X.org Server - CVE-2022-3551

 

Memory leak in X.org Server - CVE-2022-3551

Published: October 18, 2022 / Updated: February 7, 2023


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

Vulnerability details

The vulnerability allows a local user to perform DoS attack on the target system.

The vulnerability exists due memory leak within the ProcXkbGetKbdByName() function in xkb/xkb.c. A local user can force the application to leak memory and perform denial of service attack.


Affected software

X.org Server
Debian Linux
Amazon Linux AMI
Oracle Linux
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
CentOS
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Anolis OS
Red Hat Enterprise Linux Server
SUSE Linux Enterprise Storage
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_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
Red Hat CodeReady Linux Builder for IBM z Systems
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise Server for SAP Applications
Ubuntu
Slackware Linux
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Workstation Extension
SUSE Linux Enterprise Module for Development Tools
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Desktop
openSUSE Leap
openEuler
Fedora
xorg-x11-server (Red Hat package)
xserver-xorg-core (Ubuntu package)
xwayland (Ubuntu package)
xserver-xorg-core-hwe-16.04 (Ubuntu package)
tigervnc
xorg-x11-server
xorg-x11-server-extra-debuginfo
xorg-x11-server-extra
xorg-x11-server-debugsource
xorg-x11-server-debuginfo
xorg-x11-server-sdk
xorg-x11-server-wayland
xorg-x11-server-source
xorg-x11-server-wayland-debuginfo
xorg-x11-server-Xvfb
xorg-x11-server-Xorg
xorg-x11-server-Xnest
xorg-x11-server-Xephyr
xorg-x11-server-Xdmx
xorg-x11-server-common
xorg-x11-server-devel
xorg-x11-server-Xwayland
xserver-xorg-core-hwe-18.04 (Ubuntu package)
xorg-x11-server-help
xorg-server (Debian package)
xorg-x11-server-doc
xorg-server-xnest
xorg-server-xvfb
xorg-server
xorg-server-xephyr
xorg-x11-server-Xwayland (Red Hat package)
xorg-server-xwayland
xwayland-devel
xwayland-debugsource
xwayland-debuginfo
xwayland
x11-base/xorg-server
x11-base/xwayland

How to mitigate CVE-2022-3551

Install update from vendor's website.

X.org Server - update to 21.1.5
xorg-x11-server (Red Hat package) - addressed in versions 1.20.4-19.el7_9, 1.20.11-15.el8, 1.20.11-17.el9
xserver-xorg-core (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:1.19.6-1ubuntu4.12, 2:1.20.13-1ubuntu1~20.04.4, 2:21.1.3-2ubuntu2.3, 2:21.1.4-2ubuntu1.1
xwayland (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:1.19.6-1ubuntu4.12, 2:1.20.13-1ubuntu1~20.04.4, 2:22.1.1-1ubuntu0.3, 2:22.1.3-2ubuntu0.1
xserver-xorg-core-hwe-16.04 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
tigervnc - addressed in versions 1.12.0, 1.13.1
xorg-x11-server - addressed in versions 1.19.6-4.34.1, 1.19.6-10.35.1, 1.19.6-150000.8.42.1, 1.20.3-150100.14.5.28.1, 1.20.3-150200.22.5.58.1, 1.20.3-150400.38.8.1, 7.6_1.18.3-76.52.1
xorg-x11-server-extra-debuginfo - addressed in versions 1.19.6-4.34.1, 1.19.6-10.35.1, 1.19.6-150000.8.42.1, 1.20.3-150100.14.5.28.1, 1.20.3-150200.22.5.58.1, 1.20.3-150400.38.8.1, 7.6_1.18.3-76.52.1
xorg-x11-server-extra - addressed in versions 1.19.6-4.34.1, 1.19.6-10.35.1, 1.19.6-150000.8.42.1, 1.20.3-150100.14.5.28.1, 1.20.3-150200.22.5.58.1, 1.20.3-150400.38.8.1, 7.6_1.18.3-76.52.1
xorg-x11-server-debugsource - addressed in versions 1.19.6-4.34.1, 1.19.6-10.35.1, 1.19.6-150000.8.42.1, 1.20.3-150100.14.5.28.1, 1.20.3-150200.22.5.58.1, 1.20.3-150400.38.8.1, 7.6_1.18.3-76.52.1
xorg-x11-server-debuginfo - addressed in versions 1.19.6-4.34.1, 1.19.6-10.35.1, 1.19.6-150000.8.42.1, 1.20.3-150100.14.5.28.1, 1.20.3-150200.22.5.58.1, 1.20.3-150400.38.8.1, 7.6_1.18.3-76.52.1
xorg-x11-server-sdk - addressed in versions 1.19.6-10.35.1, 1.19.6-150000.8.42.1, 1.20.3-150100.14.5.28.1, 1.20.3-150200.22.5.58.1, 1.20.3-150400.38.8.1
xorg-x11-server-wayland - update to 1.20.3-150200.22.5.58.1
xorg-x11-server-source - addressed in versions 1.20.3-150200.22.5.58.1, 1.20.3-150400.38.8.1
xorg-x11-server-wayland-debuginfo - update to 1.20.3-150200.22.5.58.1
xorg-x11-server-Xvfb - addressed in versions 1.20.4-19, 1.20.11-15.0.1
xorg-x11-server-Xorg - addressed in versions 1.20.4-19, 1.20.11-15.0.1
xorg-x11-server-Xnest - addressed in versions 1.20.4-19, 1.20.11-15.0.1
xorg-x11-server-Xephyr - addressed in versions 1.20.4-19, 1.20.11-15.0.1
xorg-x11-server-Xdmx - addressed in versions 1.20.4-19, 1.20.11-15.0.1
xorg-x11-server-source - addressed in versions 1.20.4-19, 1.20.11-15.0.1
xorg-x11-server-common - addressed in versions 1.20.4-19, 1.20.11-15.0.1
xorg-x11-server-devel - addressed in versions 1.20.4-19, 1.20.11-15.0.1
xorg-x11-server-Xwayland - addressed in versions 1.20.4-19, 21.1.3-7
xserver-xorg-core-hwe-18.04 (Ubuntu package) - update to 2:1.20.8-2ubuntu2.2~18.04.8
xorg-x11-server-help - update to 1.20.8-12
xorg-x11-server-debugsource - update to 1.20.8-12
xorg-x11-server-Xephyr - update to 1.20.8-12
xorg-x11-server-debuginfo - update to 1.20.8-12
xorg-x11-server-devel - update to 1.20.8-12
xorg-x11-server - update to 1.20.8-12
xorg-server (Debian package) - update to 2:1.20.11-1+deb11u3
xorg-x11-server-doc - update to 1.20.11-15.0.1
xorg-server-xnest - update to 1.20.14
xorg-server-xvfb - update to 1.20.14
xorg-server - update to 1.20.14
xorg-server-xephyr - update to 1.20.14
xorg-x11-server - addressed in versions 1.20.14-9.fc35, 1.20.14-9.fc36, 1.20.14-9.fc37
xorg-x11-server - update to 1.20.14-12
xorg-x11-server-Xwayland (Red Hat package) - addressed in versions 21.1.3-7.el9, 21.1.3-10.el8
xorg-server-xwayland - update to 21.1.4
xorg-x11-server-Xwayland - update to 21.1.4-3.fc35
xwayland-devel - update to 21.1.4-150400.3.3.1
xwayland-debugsource - update to 21.1.4-150400.3.3.1
xwayland-debuginfo - update to 21.1.4-150400.3.3.1
xwayland - update to 21.1.4-150400.3.3.1
x11-base/xorg-server - update to 21.1.8
x11-base/xwayland - update to 23.1.1

External References

Related Security Bulletins