PT-2023-1496 · X.Org+10 · X.Org Server+10
Jan-Niklas Sohn
·
Published
2023-02-07
·
Updated
2025-02-24
·
CVE-2023-0494
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
X.Org Server versions prior to 21.1.7
Description
A vulnerability was found in X.Org 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.Recommendations
For X.Org Server versions prior to 21.1.7, update to version 21.1.7 to resolve the issue. As a temporary workaround, consider restricting access to the
ProcXkbSetDeviceInfo() and ProcXkbGetDeviceInfo() functions until a patch is available.Fix
RCE
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
X.Org Server