CVE-2024-38531: Nixos Nix
Low severity, CVSS 3.6. EPSS: 0.1% chance of exploitation in the next 30 days.
Nix is a package manager for Linux and other Unix systems that makes package management reliable and reproducible. A build process has access to and can change the permissions of the build directory. After creating a setuid binary in a globally accessible location, a malicious local user can assume the permissions of a Nix daemon worker and hijack all future builds. This issue was patched in version(s) 2.23.1, 2.22.2, 2.21.3, 2.20.7, 2.19.5 and 2.18.4.
Affected products
- Nixos Nix: from 2.23.0, before 2.23.1 (fixed in 2.23.1); from 2.22.0, before 2.22.2 (fixed in 2.22.2); from 2.21.0, before 2.21.3 (fixed in 2.21.3); from 2.20.0, before 2.20.7 (fixed in 2.20.7); from 2.19.0, before 2.19.5 (fixed in 2.19.5); from 2.18.0, before 2.18.4 (fixed in 2.18.4)
Published 2024-06-28. Last modified 2026-06-17.