CVE-2022-2320

NameCVE-2022-2320
DescriptionA flaw was found in the Xorg-x11-server. The specific flaw exists within the handling of ProcXkbSetDeviceInfo requests. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated buffer. This flaw allows an attacker to escalate privileges and execute arbitrary code in the context of root.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3068-1, DSA-5199-1
Debian Bugs1014903

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
xorg-server (PTS)buster2:1.20.4-1+deb10u4vulnerable
buster (security)2:1.20.4-1+deb10u14fixed
bullseye2:1.20.11-1+deb11u11fixed
bullseye (security)2:1.20.11-1+deb11u13fixed
bookworm2:21.1.7-3+deb12u5fixed
bookworm (security)2:21.1.7-3+deb12u7fixed
trixie2:21.1.11-2fixed
sid2:21.1.12-1fixed
xwayland (PTS)bookworm2:22.1.9-1fixed
trixie2:23.2.4-1fixed
sid2:23.2.6-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
xorg-serversourcebuster2:1.20.4-1+deb10u5DLA-3068-1
xorg-serversourcebullseye2:1.20.11-1+deb11u2DSA-5199-1
xorg-serversource(unstable)2:21.1.4-11014903
xwaylandsource(unstable)2:22.1.3-1

Notes

Introduced by: https://github.com/freedesktop/xorg-xserver/commit/c06e27b2f6fd9f7b9f827623a48876a225264132 (xorg-server-1.5.99.1)
Fixed by: https://github.com/freedesktop/xorg-xserver/commit/dd8caf39e9e15d8f302e54045dd08d8ebf1025dc
Required for fixes: https://github.com/freedesktop/xorg-xserver/commit/f1070c01d616c5f21f939d5ebc533738779451ac
https://www.openwall.com/lists/oss-security/2022/07/12/1

Search for package or bug name: Reporting problems