| Name | CVE-2023-0494 |
| Description | A 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. |
| 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-3310-1, DSA-5342-1 |
| Debian Bugs | 1030777 |
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+deb10u8 | DLA-3310-1 | ||
| xorg-server | source | bullseye | 2:1.20.11-1+deb11u5 | DSA-5342-1 | ||
| xorg-server | source | (unstable) | 2:21.1.7-1 | 1030777 | ||
| xwayland | source | (unstable) | 2:22.1.8-1 |
https://www.openwall.com/lists/oss-security/2023/02/07/1
https://gitlab.freedesktop.org/xorg/xserver/commit/0ba6d8c37071131a49790243cdac55392ecf71ec