CVE-2022-46340

EUVD-2022-49156
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
8.8 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADPADP
8.8 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 78%
Affected Products (NVD)
VendorProductVersion
x.orgx_server
1.20.4
debiandebian_linux
11.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
xorg-server
bookworm
2:21.1.7-3+deb12u7
fixed
bookworm (security)
2:21.1.7-3+deb12u8
fixed
bullseye
2:1.20.11-1+deb11u13
fixed
bullseye (security)
2:1.20.11-1+deb11u14
fixed
sid
2:21.1.14-1
fixed
trixie
2:21.1.14-1
fixed
xwayland
bookworm
2:22.1.9-1
fixed
sid
2:24.1.4-1
fixed
trixie
2:24.1.4-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
xorg-server
bionic
Fixed 2:1.19.6-1ubuntu4.13
released
focal
Fixed 2:1.20.13-1ubuntu1~20.04.5
released
jammy
Fixed 2:21.1.3-2ubuntu2.5
released
kinetic
Fixed 2:21.1.4-2ubuntu1.3
released
lunar
Fixed 2:21.1.5-1ubuntu1
released
trusty
Fixed 2:1.15.1-0ubuntu2.11+esm7
released
xenial
Fixed 2:1.18.4-0ubuntu0.12+esm5
released
xorg-server-hwe-16.04
bionic
dne
focal
dne
jammy
dne
kinetic
dne
trusty
dne
xenial
Fixed 2:1.19.6-1ubuntu4.1~16.04.6+esm4
released
xorg-server-hwe-18.04
bionic
Fixed 2:1.20.8-2ubuntu2.2~18.04.9
released
focal
dne
jammy
dne
kinetic
dne
trusty
dne
xenial
dne
xorg-server-lts-utopic
bionic
dne
focal
dne
jammy
dne
kinetic
dne
trusty
ignored
xenial
dne
xorg-server-lts-vivid
bionic
dne
focal
dne
jammy
dne
kinetic
dne
trusty
ignored
xenial
dne
xorg-server-lts-wily
bionic
dne
focal
dne
jammy
dne
kinetic
dne
trusty
ignored
xenial
dne
xorg-server-lts-xenial
bionic
dne
focal
dne
jammy
dne
kinetic
dne
trusty
ignored
xenial
dne
xwayland
bionic
dne
focal
dne
jammy
Fixed 2:22.1.1-1ubuntu0.4
released
kinetic
Fixed 2:22.1.3-2ubuntu0.2
released
lunar
Fixed 2:22.1.6-1
released
trusty
dne
xenial
dne