CVE-2024-0229 Xorg-x11-server: reattaching to different master device may lead to out-of-bounds memory access
Out-of-bounds memory access in X.Org server allows local privilege escalation or remote code execution via SSH X11 forwarding.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-0229?
CVE-2024-0229 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 9 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An out-of-bounds memory access flaw was found in the X.Org server. This issue can be triggered when a device frozen by a sync grab is reattached to a different master device. This issue may lead to an application crash, local privilege escalation (if the server runs with extended privileges), or remote code execution in SSH X11 forwarding environments.
Weakness: CWE-787
Which versions are affected by CVE-2024-0229?
It affects 8 products.
Products include Fedoraproject Fedora, Redhat Enterprise Linux, Redhat Enterprise Linux Aus, Redhat Enterprise Linux Eus, Redhat Enterprise Linux Tus, Redhat Enterprise Linux Update Services for Sap Solutions and 2 more.
How do I fix CVE-2024-0229?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-0229 being exploited?
There is no known exploitation of CVE-2024-0229 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-34214, AZL-44880, BELL-CVE-2024-0229, DEBIAN-CVE-2024-0229, GHSA-49wx-9h9f-8c9g, UBUNTU-CVE-2024-0229.