CVE-2023-0494

NameCVE-2023-0494
DescriptionA vulnerability was found in X.Org. This issue occurs due to a dangling pointer in DeepCopyPointerClasses that can be exploited by ProcXkbSetDeviceInfo() and ProcXkbGetDeviceInfo() to read and write into freed memory. This can lead to local privilege elevation on systems where the X server runs privileged and remote code execution for ssh X forwarding sessions.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3310-1, DSA-5342-1
Debian Bugs1030777

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
xorg-server (PTS)bullseye2:1.20.11-1+deb11u13fixed
bullseye (security)2:1.20.11-1+deb11u14fixed
bookworm, bookworm (security)2:21.1.7-3+deb12u8fixed
sid, trixie2:21.1.14-2fixed
xwayland (PTS)bookworm2:22.1.9-1fixed
sid, trixie2:24.1.4-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
xorg-serversourcebuster2:1.20.4-1+deb10u8DLA-3310-1
xorg-serversourcebullseye2:1.20.11-1+deb11u5DSA-5342-1
xorg-serversource(unstable)2:21.1.7-11030777
xwaylandsource(unstable)2:22.1.8-1

Notes

https://www.openwall.com/lists/oss-security/2023/02/07/1
https://gitlab.freedesktop.org/xorg/xserver/commit/0ba6d8c37071131a49790243cdac55392ecf71ec

Search for package or bug name: Reporting problems