CVE-2024-38531
Fixed in a distro release EPSS <1%CVSS 3.6
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.
Products: NixOS nix
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | nix | no fix |
| Debian 13 | nix | 2.23.3+dfsg-1 |
| Debian 14 | nix | 2.23.3+dfsg-1 |
| Ubuntu Pro 22.04 LTS | nix | 2.6.0+dfsg-3ubuntu0.1~esm1 |
| Ubuntu Pro 24.04 LTS | nix | 2.18.1+dfsg-1ubuntu5+esm2 |