CVE-2024-0409: Xorg-x11-server: selinux context corruption
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
Event History
Frequently Asked Questions
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.
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.
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.
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.
Is CVE-2024-0409 related to other vulnerabilities?
CVE-2024-0409 may have implications for system integrity, particularly in environments utilizing SELinux configurations.