Name | CVE-2022-46340 |
Description | A vulnerability was found in X.Org. This security flaw occurs becuase the swap handler for the XTestFakeInput request of the XTest extension may corrupt the stack if GenericEvents with lengths larger than 32 bytes are sent through a the XTestFakeInput request. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions. This issue does not affect systems where client and server use the same byte order. |
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-3256-1, DSA-5304-1, ELA-782-1 |
Debian Bugs | 1026071 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
xorg-server (PTS) | jessie, jessie (lts) | 2:1.16.4-1+deb8u17 | fixed |
stretch (security) | 2:1.19.2-1+deb9u9 | vulnerable | |
stretch (lts), stretch | 2:1.19.2-1+deb9u20 | fixed | |
buster, buster (lts) | 2:1.20.4-1+deb10u15 | fixed | |
buster (security) | 2:1.20.4-1+deb10u14 | fixed | |
bullseye | 2:1.20.11-1+deb11u13 | fixed | |
bullseye (security) | 2:1.20.11-1+deb11u14 | fixed | |
bookworm (security), bookworm | 2:21.1.7-3+deb12u8 | fixed | |
trixie | 2:21.1.14-2 | fixed | |
sid | 2:21.1.15-2 | fixed | |
xwayland (PTS) | bookworm | 2:22.1.9-1 | fixed |
sid, trixie | 2:24.1.4-2 | 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 | jessie | 2:1.16.4-1+deb8u9 | ELA-782-1 | ||
xorg-server | source | stretch | 2:1.19.2-1+deb9u12 | ELA-782-1 | ||
xorg-server | source | buster | 2:1.20.4-1+deb10u7 | DLA-3256-1 | ||
xorg-server | source | bullseye | 2:1.20.11-1+deb11u4 | DSA-5304-1 | ||
xorg-server | source | (unstable) | 2:21.1.5-1 | 1026071 | ||
xwayland | source | (unstable) | 2:22.1.6-1 |
https://lists.x.org/archives/xorg-announce/2022-December/003302.html
https://gitlab.freedesktop.org/xorg/xserver/commit/b320ca0ffe4c0c872eeb3a93d9bde21f765c7c63