Vulnerability · Published Oct 25, 2023 · Assigned by redhat
CVE-2023-5380Xorg-x11-server: use-after-free bug in destroywindow
Medium 4.7
In plain English
A medium-severity use-after-free in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A use-after-free flaw was found in the xorg-x11-server. An X server crash may occur in a very specific and legacy configuration (a multi-screen setup with multiple protocol screens, also known as Zaphod mode) if the pointer is warped from within a window on one screen to the root window of the other screen and if the original window is destroyed followed by another window being destroyed.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | tigervnc | 1.13.1-8.el8 | ALSA-2024:3067 |
| AlmaLinux:9 | tigervnc | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux:8 | tigervnc-icons | 1.13.1-8.el8 | ALSA-2024:3067 |
| AlmaLinux:9 | tigervnc-icons | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux:8 | tigervnc-license | 1.13.1-8.el8 | ALSA-2024:3067 |
| AlmaLinux:9 | tigervnc-license | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux:8 | tigervnc-selinux | 1.13.1-8.el8 | ALSA-2024:3067 |
| AlmaLinux:9 | tigervnc-selinux | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux:8 | tigervnc-server | 1.13.1-8.el8 | ALSA-2024:3067 |
| AlmaLinux:9 | tigervnc-server | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux:8 | tigervnc-server-minimal | 1.13.1-8.el8 | ALSA-2024:3067 |
| AlmaLinux:9 | tigervnc-server-minimal | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux:8 | tigervnc-server-module | 1.13.1-8.el8 | ALSA-2024:3067 |
| AlmaLinux:9 | tigervnc-server-module | 1.13.1-8.el9 | ALSA-2024:2298 |
| AlmaLinux:8 | xorg-x11-server-Xdmx | 1.20.11-22.el8 | ALSA-2024:2995 |
| AlmaLinux:9 | xorg-x11-server-Xdmx | 1.20.11-24.el9 | ALSA-2024:2169 |
| AlmaLinux:8 | xorg-x11-server-Xephyr | 1.20.11-22.el8 | ALSA-2024:2995 |
| AlmaLinux:9 | xorg-x11-server-Xephyr | 1.20.11-24.el9 | ALSA-2024:2169 |
| AlmaLinux:8 | xorg-x11-server-Xnest | 1.20.11-22.el8 | ALSA-2024:2995 |
| AlmaLinux:9 | xorg-x11-server-Xnest | 1.20.11-24.el9 | ALSA-2024:2169 |
| AlmaLinux:8 | xorg-x11-server-Xorg | 1.20.11-22.el8 | ALSA-2024:2995 |
| AlmaLinux:9 | xorg-x11-server-Xorg | 1.20.11-24.el9 | ALSA-2024:2169 |
| AlmaLinux:8 | xorg-x11-server-Xvfb | 1.20.11-22.el8 | ALSA-2024:2995 |
| AlmaLinux:9 | xorg-x11-server-Xvfb | 1.20.11-24.el9 | ALSA-2024:2169 |
| AlmaLinux:8 | xorg-x11-server-common | 1.20.11-22.el8 | ALSA-2024:2995 |
| AlmaLinux:9 | xorg-x11-server-common | 1.20.11-24.el9 | ALSA-2024:2169 |
| AlmaLinux:8 | xorg-x11-server-devel | 1.20.11-22.el8 | ALSA-2024:2995 |
| AlmaLinux:9 | xorg-x11-server-devel | 1.20.11-24.el9 | ALSA-2024:2169 |
| AlmaLinux:8 | xorg-x11-server-source | 1.20.11-22.el8 | ALSA-2024:2995 |
| AlmaLinux:9 | xorg-x11-server-source | 1.20.11-24.el9 | ALSA-2024:2169 |
| Alpine:v3.20 | xorg-server | 21.1.9-r0 | ALPINE-CVE-2023-5380 |
| Alpine:v3.21 | xorg-server | 21.1.9-r0 | ALPINE-CVE-2023-5380 |
| Alpine:v3.22 | xorg-server | 21.1.9-r0 | ALPINE-CVE-2023-5380 |
| Alpine:v3.23 | xorg-server | 21.1.9-r0 | ALPINE-CVE-2023-5380 |
| Alpine:v3.24 | xorg-server | 21.1.9-r0 | ALPINE-CVE-2023-5380 |
| Debian:12 | xorg-server | 2:21.1.7-3+deb12u2 | DSA-5534-1 |
| Debian:12 | xorg-server | 2:21.1.7-3+deb12u2 | DEBIAN-CVE-2023-5380 |
| Debian:13 | xorg-server | 2:21.1.9-1 | DEBIAN-CVE-2023-5380 |
| Debian:14 | xorg-server | 2:21.1.9-1 | DEBIAN-CVE-2023-5380 |
| Ubuntu:22.04:LTS | xorg-server | 2:21.1.4-2ubuntu1.7~22.04.2 | USN-6453-1 |
| Ubuntu:22.04:LTS | xorg-server | 2:21.1.4-2ubuntu1.7~22.04.2 | UBUNTU-CVE-2023-5380 |
| Ubuntu:24.04:LTS | xorg-server | 2:21.1.7-3ubuntu2.1 | UBUNTU-CVE-2023-5380 |
| Ubuntu:22.04:LTS | xwayland | 2:22.1.1-1ubuntu0.7 | USN-6453-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- RHSA-2023:7428 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2169 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2298 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2995 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3067 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-5380 vdb-entry, x_refsource_REDHAT
- RHBZ#2244736 issue-tracking, x_refsource_REDHAT
- https://lists.x.org/archives/xorg-announce/2023-October/003430.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2WS5E7H4A5J3U5YBCTMRPQVGWK5LVH7D/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3RK66CXMXO3PCPDU3GDY5FK4UYHUXQJT/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AKKIE626TZOOPD533EYN47J4RFNHZVOP/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HO2Q2NP6R62ZRQQG3XQ4AXUT7J2EKKKY/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SN6KV4XGQJRVAOSM5C3CWMVAXO53COIP/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TJXNI4BXURC2BKPNAHFJK3C5ZETB7PER/ x_transferred
- https://security.gentoo.org/glsa/202401-30 x_transferred
- https://security.netapp.com/advisory/ntap-20231130-0004/ x_transferred
- https://www.debian.org/security/2023/dsa-5534 x_transferred
- https://lists.debian.org/debian-lts-announce/2023/10/msg00036.html