CVE-2024-38531
Nix sandbox escape
- State
- Published
- Severity
- 3.6 Low
- Published
- Jun 28, 2024
- Updated
- Aug 2, 2024
- Reserved
- Jun 18, 2024
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 3.6 Low | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L | GitHub_M |
Weaknesses
- CWE-278 Insecure Preserved Inherited Permissions
Affected Products
| Product | Versions |
|---|---|
nixNixOS |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.