CVE-2024-0409: Xorg-x11-server: selinux context corruption

Published Jan 10, 2024
·
Updated

A flaw was found in the X.Org server. The cursor code in both Xephyr and Xwayland uses the wrong type of private at creation. It uses the cursor bits type with the cursor as private, and when initiating the cursor, that overwrites the XSELINUX context.

Other sources

The Xserver uses the mechanism of "privates" to store additional data to its own objects, each private has an associate "type". Each private is allocated for the relevant size of memory that is declared at creation.

The cursor structure in the Xserver goes as far as having two keys, one for the cursor itself and another one for the bits that make the cursor shape.

XSELINUX also uses privates but it's a bit of a special case because it uses the same privates keys for all different objects.

What happens here is that the cursor code in both Xephyr and Xwayland uses the wrong type of private at creation, using the cursor bits type with the cursor private and when initiating the cursor, the overwrites the XSELINUX context.

Red Hat

Xorg-x11-server: selinux context corruption

Microsoft

Affected Software

22 affected componentsFixes available
redhat/xorg-server<21.1.11
21.1.11
redhat/xwayland<23.2.4
23.2.4
debian/xorg-server
2:1.20.11-1+deb11u132:1.20.11-1+deb11u152:21.1.7-3+deb12u92:21.1.16-1
debian/xwayland<=2:22.1.9-1
2:24.1.6-1
TigerVNC TigerVNC<1.13.1
X.Org xorg-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
X.Org X Server<21.1.11
Microsoft cbl2 xorg-x11-server 1.20.10-15
Microsoft cbl2 xorg-x11-server 1.20.10-12

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
May 29, 2024
Data Sourced
via Launchpad·02:48 PM
Description
Sep 14, 2024
Data Sourced
via Ubuntu·03:03 PM
RemedyDescriptionSeverityAffected Software
Sep 20, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-0409?

CVE-2024-0409 has been classified with a moderate severity level due to the potential impact on system security.

2

How do I fix CVE-2024-0409?

To remediate CVE-2024-0409, update the xorg-server to version 21.1.11 or later and xwayland to version 23.2.4 or later.

3

Which systems are affected by CVE-2024-0409?

CVE-2024-0409 affects versions of xorg-server prior to 21.1.11 and xwayland prior to 23.2.4, as well as specific versions of Red Hat and Debian systems.

4

What is the nature of the vulnerability in CVE-2024-0409?

CVE-2024-0409 involves a flaw in the cursor code of the X.Org server, which can overwrite the XSELINUX context.

5

Is CVE-2024-0409 related to other vulnerabilities?

CVE-2024-0409 may have implications for system integrity, particularly in environments utilizing SELinux configurations.

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