CVE-2023-6377

NameCVE-2023-6377
DescriptionA flaw was found in xorg-server. Querying or changing XKB button actions such as moving from a touchpad to a mouse can result in out-of-bounds memory reads and writes. This may allow local privilege escalation or possible remote code execution in cases where X11 forwarding is involved.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3686-1, DLA-3686-2, DSA-5576-1, DSA-5576-2, ELA-1019-1, ELA-1019-2

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
xorg-server (PTS)jessie, jessie (lts)2:1.16.4-1+deb8u17fixed
stretch (security)2:1.19.2-1+deb9u9vulnerable
stretch (lts), stretch2:1.19.2-1+deb9u20fixed
buster, buster (lts)2:1.20.4-1+deb10u15fixed
buster (security)2:1.20.4-1+deb10u14fixed
bullseye2:1.20.11-1+deb11u13fixed
bullseye (security)2:1.20.11-1+deb11u14fixed
bookworm (security), bookworm2:21.1.7-3+deb12u8fixed
sid, trixie2:21.1.14-2fixed
xwayland (PTS)bookworm2:22.1.9-1vulnerable
sid, trixie2:24.1.4-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
xorg-serversourcejessie2:1.16.4-1+deb8u14ELA-1019-2
xorg-serversourcestretch2:1.19.2-1+deb9u17ELA-1019-2
xorg-serversourcebuster2:1.20.4-1+deb10u12DLA-3686-2
xorg-serversourcebullseye2:1.20.11-1+deb11u10DSA-5576-2
xorg-serversourcebookworm2:21.1.7-3+deb12u4DSA-5576-2
xorg-serversource(unstable)2:21.1.10-1
xwaylandsource(unstable)2:23.2.3-1

Notes

[bookworm] - xwayland <ignored> (Minor issue; Xwayland shouldn't be running as root)
https://lists.x.org/archives/xorg-announce/2023-December/003435.html
Fixed by: https://gitlab.freedesktop.org/xorg/xserver/-/commit/0c1a93d319558fe3ab2d94f51d174b4f93810afd

Search for package or bug name: Reporting problems