CVE-2024-38531
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2024
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
Nix sandbox escape
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
nix
- Vendor
- NixOS
- Product
- nix
- Platforms
- Unknown
- Default status
Unknown
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| >= 2.23.0, < 2.23.1 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 2.22.0, < 2.22.2 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 2.21.0, < 2.21.3 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 2.20.0, < 2.20.7 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 2.19.0, < 2.19.5 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 2.18.0, < 2.18.4 | affected | Unavailable | Unavailable | Unavailable | None listed |