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

Published Jan 10, 2024
·
Updated

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.

Other sources

The XSELINUX code in the Xserver labels the X resources based on a hook. What happens here is that the GLX PBuffer code does not call that XACE hook when creating the buffer, so it remains unlabeled, and when the client issues another request to access that resource (as here with a GetGeometry) or even when it creates another resource which 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.

— Red Hat

Xorg-x11-server: selinux unlabeled glx pbuffer

— Microsoft

Affected Software

39 affected componentsFixes available
redhat/xorg-server<21.1.11
21.1.11
redhat/xwayland<23.2.4
23.2.4
TigerVNC TigerVNC<1.13.1
X.Org X Server<21.1.11
X.Org Xwayland<23.2.4
Fedoraproject Fedora=39
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux For Ibm Z Systems=7.0
redhat Enterprise Linux For Power Big Endian=7.0
redhat Enterprise Linux For Power Little Endian=7.0
redhat Enterprise Linux For Scientific Computing=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
Microsoft cbl2 xorg-x11-server 1.20.10-14
Microsoft cbl2 xorg-x11-server 1.20.10-15
debian/xorg-server<2:21.1.7-3+deb12u5
2:21.1.7-3+deb12u5
debian/xorg-server<2:21.1.11-1
2:21.1.11-1
debian/xorg-server<2:21.1.11-1
2:21.1.11-1
debian/xwayland*
debian/xwayland<2:23.2.4-1
2:23.2.4-1
debian/xwayland<2:23.2.4-1
2:23.2.4-1
debian/xorg-server
2:21.1.7-3+deb12u122:21.1.7-3+deb12u132:21.1.16-1.3+deb13u32:21.1.16-1.3+deb13u42:21.1.25-2
debian/xwayland<=2:22.1.9-1
2:24.1.6-12:24.1.14-1
alpine/xorg-server<21.1.11-r0
21.1.11-r0
alpine/xorg-server<21.1.11-r0
21.1.11-r0
alpine/xorg-server<21.1.11-r0
21.1.11-r0
alpine/xorg-server<21.1.11-r0
21.1.11-r0
alpine/xorg-server<21.1.11-r0
21.1.11-r0
alpine/xorg-server<21.1.11-r0
21.1.11-r0
alpine/xwayland<23.2.4-r0
23.2.4-r0
alpine/xwayland<23.2.4-r0
23.2.4-r0
alpine/xwayland<23.2.4-r0
23.2.4-r0
alpine/xwayland<23.2.4-r0
23.2.4-r0
alpine/xwayland<23.2.4-r0
23.2.4-r0
alpine/xwayland<23.2.4-r0
23.2.4-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/xorg-server to a version that resolves this vulnerability.

    Fixed in 21.1.11
  2. Upgrade

    Upgrade redhat/xwayland to a version that resolves this vulnerability.

    Fixed in 23.2.4
  3. Upgrade

    Upgrade debian/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.7-3+deb12u5
  4. Upgrade

    Upgrade debian/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.11-1
  5. Upgrade

    Upgrade debian/xwayland to a version that resolves this vulnerability.

    Fixed in 2:23.2.4-1
  6. Upgrade

    Upgrade debian/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.7-3+deb12u12Fixed in 2:21.1.7-3+deb12u13Fixed in 2:21.1.16-1.3+deb13u3Fixed in 2:21.1.16-1.3+deb13u4Fixed in 2:21.1.25-2
  7. Upgrade

    Upgrade debian/xwayland to a version that resolves this vulnerability.

    Fixed in 2:24.1.6-1Fixed in 2:24.1.14-1
  8. Upgrade

    Upgrade alpine/xorg-server to a version that resolves this vulnerability.

    Fixed in 21.1.11-r0
  9. Upgrade

    Upgrade alpine/xwayland to a version that resolves this vulnerability.

    Fixed in 23.2.4-r0

Event History

Jan 18, 2024
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software
Feb 17, 2025
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-0408?

CVE-2024-0408 is considered to have a moderate severity due to potential access control issues.

2

How do I fix CVE-2024-0408?

To fix CVE-2024-0408, upgrade the affected packages to versions 21.1.11 of xorg-server or 23.2.4 of xwayland.

3

Which software packages are affected by CVE-2024-0408?

CVE-2024-0408 affects packages such as xorg-server, xwayland, and TigerVNC across various versions.

4

What might an attacker achieve by exploiting CVE-2024-0408?

An attacker exploiting CVE-2024-0408 could potentially gain unauthorized access to certain resources.

5

Is there a workaround for CVE-2024-0408 until I can apply a patch?

Currently, there are no specific workarounds available for CVE-2024-0408; patching is strongly recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203