Vulnerability · Published Jan 18, 2024 · Assigned by redhat

CVE-2024-0408Xorg-x11-server: selinux unlabeled glx pbuffer

Medium 5.5

In plain English

A medium-severity security flaw in xorg-server. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.3%top 74.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A flaw was found in the X.Org server. The GLX PBuffer code does not call the XACE hook when creating the buffer, leaving it unlabeled. When the client issues another request to access that resource (as with a GetGeometry) or when it creates another resource that needs to access that buffer, such as a GC, the XSELINUX code will try to use an object that was never labeled and crash because the SID is NULL.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8xorg-x11-server-Xdmx1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-Xdmx1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-Xephyr1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-Xephyr1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-Xnest1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-Xnest1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-Xorg1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-Xorg1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-Xvfb1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-Xvfb1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-Xwayland21.1.3-15.el8ALSA-2024:2996
AlmaLinux:9xorg-x11-server-Xwayland22.1.9-5.el9ALSA-2024:2170
AlmaLinux:8xorg-x11-server-common1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-common1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-devel1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-devel1.20.11-24.el9ALSA-2024:2169
AlmaLinux:8xorg-x11-server-source1.20.11-22.el8ALSA-2024:2995
AlmaLinux:9xorg-x11-server-source1.20.11-24.el9ALSA-2024:2169
Alpine:v3.20xorg-server21.1.11-r0ALPINE-CVE-2024-0408
Alpine:v3.21xorg-server21.1.11-r0ALPINE-CVE-2024-0408
Alpine:v3.22xorg-server21.1.11-r0ALPINE-CVE-2024-0408
Alpine:v3.23xorg-server21.1.11-r0ALPINE-CVE-2024-0408
Alpine:v3.24xorg-server21.1.11-r0ALPINE-CVE-2024-0408
Alpine:v3.20xwayland23.2.4-r0ALPINE-CVE-2024-0408
Alpine:v3.21xwayland23.2.4-r0ALPINE-CVE-2024-0408
Alpine:v3.22xwayland23.2.4-r0ALPINE-CVE-2024-0408
Alpine:v3.23xwayland23.2.4-r0ALPINE-CVE-2024-0408
Alpine:v3.24xwayland23.2.4-r0ALPINE-CVE-2024-0408
Debian:12xorg-server2:21.1.7-3+deb12u5DSA-5603-1
Debian:12xorg-server2:21.1.7-3+deb12u5DEBIAN-CVE-2024-0408
Debian:13xorg-server2:21.1.11-1DEBIAN-CVE-2024-0408
Debian:14xorg-server2:21.1.11-1DEBIAN-CVE-2024-0408
Debian:12xwaylandno fix listedDEBIAN-CVE-2024-0408
Debian:13xwayland2:23.2.4-1DEBIAN-CVE-2024-0408
Debian:14xwayland2:23.2.4-1DEBIAN-CVE-2024-0408
Ubuntu:22.04:LTSxorg-server2:21.1.4-2ubuntu1.7~22.04.7UBUNTU-CVE-2024-0408
Ubuntu:22.04:LTSxorg-server2:21.1.4-2ubuntu1.7~22.04.7USN-6587-1
Ubuntu:22.04:LTSxwayland2:22.1.1-1ubuntu0.10USN-6587-1
Ubuntu:22.04:LTSxwayland2:22.1.1-1ubuntu0.10UBUNTU-CVE-2024-0408
Ubuntu:24.04:LTSxwayland2:23.2.4-1UBUNTU-CVE-2024-0408

Affected products (as reported)

VendorProductVersions
xorg-server 21.1.0 – before 21.1.11
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-158 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References