CVE-2024-0409
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-0409 is a security vulnerability discovered in the X.Org server, specifically affecting the cursor code in both Xephyr and Xwayland components. The vulnerability was disclosed on January 18, 2024. The issue occurs when the cursor code uses the wrong type of private at creation, using the cursor bits type with the cursor as private, which leads to overwriting the XSELINUX context (NVD, Red Hat Bugzilla).

Technical details

The vulnerability stems from a type confusion in the private data handling mechanism of the X.Org server. The server uses 'privates' to store additional data to its objects, with each private having an associated type and allocated memory size. The cursor structure has two keys - one for the cursor itself and another for the cursor shape bits. The issue arises when the cursor code incorrectly uses the cursor bits type with the cursor private, leading to XSELINUX context corruption. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) with the vector: AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (Red Hat Bugzilla, Ubuntu Security).

Impact

The successful exploitation of this vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The high severity rating indicates potential serious consequences for system security, particularly in environments where SELinux is deployed (NetApp Security).

Mitigation and workarounds

Fixed versions have been released for various distributions: xorg-server-21.1.11 and xwayland-23.2.4. Users are advised to upgrade to these or later versions. For Debian 10 buster, the fix is available in version 2:1.20.4-1+deb10u13. Red Hat has released fixes through multiple security advisories including RHSA-2024:0320, RHSA-2024:2169, and RHSA-2024:2170 (Debian LTS, Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026
CVE-2026-22184MEDIUM4.6
  • NixOSNixOS
  • java-1.8.0-openjdk-demo
NoYesJan 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management