Name | CVE-2022-2320 |
Description | A 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3068-1, DSA-5199-1 |
Debian Bugs | 1014903 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
xorg-server (PTS) | buster | 2:1.20.4-1+deb10u4 | vulnerable |
| buster (security) | 2:1.20.4-1+deb10u14 | fixed |
| bullseye | 2:1.20.11-1+deb11u11 | fixed |
| bullseye (security) | 2:1.20.11-1+deb11u13 | fixed |
| bookworm | 2:21.1.7-3+deb12u5 | fixed |
| bookworm (security) | 2:21.1.7-3+deb12u7 | fixed |
| sid, trixie | 2:21.1.12-1 | fixed |
xwayland (PTS) | bookworm | 2:22.1.9-1 | fixed |
| sid, trixie | 2:23.2.6-1 | fixed |
The information below is based on the following data on fixed versions.
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