| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-3068-1, DSA-5199-1 |
| Debian Bugs | 1014903 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| xorg-server (PTS) | bullseye | 2:1.20.11-1+deb11u13 | fixed |
| bullseye (security) | 2:1.20.11-1+deb11u17 | fixed | |
| bookworm | 2:21.1.7-3+deb12u10 | fixed | |
| bookworm (security) | 2:21.1.7-3+deb12u11 | fixed | |
| trixie | 2:21.1.16-1.3 | fixed | |
| trixie (security) | 2:21.1.16-1.3+deb13u1 | fixed | |
| forky, sid | 2:21.1.18-2 | fixed | |
| xwayland (PTS) | bookworm | 2:22.1.9-1 | fixed |
| trixie | 2:24.1.6-1 | fixed | |
| forky, sid | 2:24.1.8-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| xorg-server | source | buster | 2:1.20.4-1+deb10u5 | DLA-3068-1 | ||
| xorg-server | source | bullseye | 2:1.20.11-1+deb11u2 | DSA-5199-1 | ||
| xorg-server | source | (unstable) | 2:21.1.4-1 | 1014903 | ||
| xwayland | source | (unstable) | 2:22.1.3-1 |
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