Vulnerability · Published Dec 14, 2022 · Assigned by redhat

CVE-2022-46343

High 8.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 2.6% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)2.6%top 14.9% 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 security flaw occurs because the handler for the ScreenSaverSetAttributes request may write to memory after it has been freed. This issue can lead to local privileges elevation on systems where the X server is running privileged and remote code execution for ssh X forwarding sessions.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8tigervnc1.12.0-15.el8_8ALSA-2023:2830
AlmaLinux:9tigervnc1.12.0-13.el9_2ALSA-2023:2257
AlmaLinux:8tigervnc-icons1.12.0-15.el8_8ALSA-2023:2830
AlmaLinux:9tigervnc-icons1.12.0-13.el9_2ALSA-2023:2257
AlmaLinux:8tigervnc-license1.12.0-15.el8_8ALSA-2023:2830
AlmaLinux:9tigervnc-license1.12.0-13.el9_2ALSA-2023:2257
AlmaLinux:8tigervnc-selinux1.12.0-15.el8_8ALSA-2023:2830
AlmaLinux:9tigervnc-selinux1.12.0-13.el9_2ALSA-2023:2257
AlmaLinux:8tigervnc-server1.12.0-15.el8_8ALSA-2023:2830
AlmaLinux:9tigervnc-server1.12.0-13.el9_2ALSA-2023:2257
AlmaLinux:8tigervnc-server-minimal1.12.0-15.el8_8ALSA-2023:2830
AlmaLinux:9tigervnc-server-minimal1.12.0-13.el9_2ALSA-2023:2257
AlmaLinux:8tigervnc-server-module1.12.0-15.el8_8ALSA-2023:2830
AlmaLinux:9tigervnc-server-module1.12.0-13.el9_2ALSA-2023:2257
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.5-r0ALPINE-CVE-2022-46343
Alpine:v3.21xorg-server21.1.5-r0ALPINE-CVE-2022-46343
Alpine:v3.22xorg-server21.1.5-r0ALPINE-CVE-2022-46343
Alpine:v3.23xorg-server21.1.5-r0ALPINE-CVE-2022-46343
Alpine:v3.24xorg-server21.1.5-r0ALPINE-CVE-2022-46343
Alpine:v3.20xwayland22.1.6-r0ALPINE-CVE-2022-46343
Alpine:v3.21xwayland22.1.6-r0ALPINE-CVE-2022-46343
Alpine:v3.22xwayland22.1.6-r0ALPINE-CVE-2022-46343
Alpine:v3.23xwayland22.1.6-r0ALPINE-CVE-2022-46343
Alpine:v3.24xwayland22.1.6-r0ALPINE-CVE-2022-46343
Debian:12xorg-server2:21.1.5-1DEBIAN-CVE-2022-46343
Debian:13xorg-server2:21.1.5-1DEBIAN-CVE-2022-46343
Debian:14xorg-server2:21.1.5-1DEBIAN-CVE-2022-46343
Debian:12xwayland2:22.1.6-1DEBIAN-CVE-2022-46343
Debian:13xwayland2:22.1.6-1DEBIAN-CVE-2022-46343
Debian:14xwayland2:22.1.6-1DEBIAN-CVE-2022-46343
Ubuntu:22.04:LTSxorg-server2:21.1.3-2ubuntu2.5USN-5778-1
Ubuntu:22.04:LTSxorg-server2:21.1.3-2ubuntu2.5UBUNTU-CVE-2022-46343
Ubuntu:22.04:LTSxwayland2:22.1.1-1ubuntu0.4UBUNTU-CVE-2022-46343
Ubuntu:22.04:LTSxwayland2:22.1.1-1ubuntu0.4USN-5778-1

Affected products (as reported)

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

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

References