Vulnerability · Published Mar 27, 2023 · Assigned by redhat

CVE-2023-0494

High 7.8

In plain English

A high-severity use-after-free in xorg-x11-server. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.9%top 40.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8tigervnc1.12.0-9.el8_7.1ALSA-2023:0662
AlmaLinux:9tigervnc1.12.0-5.el9_1.1ALSA-2023:0622
AlmaLinux:8tigervnc-icons1.12.0-9.el8_7.1ALSA-2023:0662
AlmaLinux:9tigervnc-icons1.12.0-5.el9_1.1ALSA-2023:0622
AlmaLinux:8tigervnc-license1.12.0-9.el8_7.1ALSA-2023:0662
AlmaLinux:9tigervnc-license1.12.0-5.el9_1.1ALSA-2023:0622
AlmaLinux:8tigervnc-selinux1.12.0-9.el8_7.1ALSA-2023:0662
AlmaLinux:9tigervnc-selinux1.12.0-5.el9_1.1ALSA-2023:0622
AlmaLinux:8tigervnc-server1.12.0-9.el8_7.1ALSA-2023:0662
AlmaLinux:9tigervnc-server1.12.0-5.el9_1.1ALSA-2023:0622
AlmaLinux:8tigervnc-server-minimal1.12.0-9.el8_7.1ALSA-2023:0662
AlmaLinux:9tigervnc-server-minimal1.12.0-5.el9_1.1ALSA-2023:0622
AlmaLinux:8tigervnc-server-module1.12.0-9.el8_7.1ALSA-2023:0662
AlmaLinux:9tigervnc-server-module1.12.0-5.el9_1.1ALSA-2023:0622
AlmaLinux:8xorg-x11-server-Xdmx1.20.11-15.el8ALSA-2023:2806
AlmaLinux:9xorg-x11-server-Xdmx1.20.11-17.el9ALSA-2023:2248
AlmaLinux:8xorg-x11-server-Xephyr1.20.11-15.el8ALSA-2023:2806
AlmaLinux:9xorg-x11-server-Xephyr1.20.11-17.el9ALSA-2023:2248
AlmaLinux:8xorg-x11-server-Xnest1.20.11-15.el8ALSA-2023:2806
AlmaLinux:9xorg-x11-server-Xnest1.20.11-17.el9ALSA-2023:2248
AlmaLinux:8xorg-x11-server-Xorg1.20.11-15.el8ALSA-2023:2806
AlmaLinux:9xorg-x11-server-Xorg1.20.11-17.el9ALSA-2023:2248
AlmaLinux:8xorg-x11-server-Xvfb1.20.11-15.el8ALSA-2023:2806
AlmaLinux:9xorg-x11-server-Xvfb1.20.11-17.el9ALSA-2023:2248
AlmaLinux:8xorg-x11-server-Xwayland21.1.3-10.el8ALSA-2023:2805
AlmaLinux:9xorg-x11-server-Xwayland21.1.3-7.el9ALSA-2023:2249
AlmaLinux:8xorg-x11-server-common1.20.11-15.el8ALSA-2023:2806
AlmaLinux:9xorg-x11-server-common1.20.11-17.el9ALSA-2023:2248
AlmaLinux:8xorg-x11-server-devel1.20.11-15.el8ALSA-2023:2806
AlmaLinux:9xorg-x11-server-devel1.20.11-17.el9ALSA-2023:2248
AlmaLinux:8xorg-x11-server-source1.20.11-15.el8ALSA-2023:2806
AlmaLinux:9xorg-x11-server-source1.20.11-17.el9ALSA-2023:2248
Alpine:v3.20xorg-server21.1.7-r0ALPINE-CVE-2023-0494
Alpine:v3.21xorg-server21.1.7-r0ALPINE-CVE-2023-0494
Alpine:v3.22xorg-server21.1.7-r0ALPINE-CVE-2023-0494
Alpine:v3.23xorg-server21.1.7-r0ALPINE-CVE-2023-0494
Alpine:v3.24xorg-server21.1.7-r0ALPINE-CVE-2023-0494
Alpine:v3.20xwayland22.1.8-r0ALPINE-CVE-2023-0494
Alpine:v3.21xwayland22.1.8-r0ALPINE-CVE-2023-0494
Alpine:v3.22xwayland22.1.8-r0ALPINE-CVE-2023-0494
Alpine:v3.23xwayland22.1.8-r0ALPINE-CVE-2023-0494
Alpine:v3.24xwayland22.1.8-r0ALPINE-CVE-2023-0494
Debian:12xorg-server2:21.1.7-1DEBIAN-CVE-2023-0494
Debian:13xorg-server2:21.1.7-1DEBIAN-CVE-2023-0494
Debian:14xorg-server2:21.1.7-1DEBIAN-CVE-2023-0494
Debian:12xwayland2:22.1.8-1DEBIAN-CVE-2023-0494
Debian:13xwayland2:22.1.8-1DEBIAN-CVE-2023-0494
Debian:14xwayland2:22.1.8-1DEBIAN-CVE-2023-0494
Rocky Linux:8tigervnc0:1.12.0-9.el8_7.1RLSA-2023:0662
Rocky Linux:9tigervnc0:1.12.0-5.el9_1.1RLSA-2023:0622
Ubuntu:22.04:LTSxorg-server2:21.1.3-2ubuntu2.7USN-5846-1
Ubuntu:22.04:LTSxorg-server2:21.1.3-2ubuntu2.7UBUNTU-CVE-2023-0494
Ubuntu:22.04:LTSxwayland2:22.1.1-1ubuntu0.5USN-5846-1
Ubuntu:22.04:LTSxwayland2:22.1.1-1ubuntu0.5UBUNTU-CVE-2023-0494

Affected products (as reported)

VendorProductVersions
n/a xorg-x11-server xorg-server 21.1.7

Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References