Vulnerability in Nixos Nix
CVE-2024-38531
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.6 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS: 0.001 (3.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 3rd percentile — 3.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: 0.000
Affected products
- Nixos Nix — versions >= 2.23.0, < 2.23.1, >= 2.22.0, < 2.22.2, >= 2.21.0, < 2.21.3
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-38531?
- CVE-2024-38531 is a low-severity vulnerability in Nixos Nix, classified under Insecure Preserved Inherited Permissions. CVSS score: 3.6/10. Published 2024-06-28.
- How severe is CVE-2024-38531?
- Low severity. CVSS v3 base score is 3.6 out of 10.