Vulnerabilities · 2024 · Nixos
CVE-2024-45593
Nixos Nix vulnerability
Nix is a package manager for Linux and other Unix systems. A bug in Nix 2.24 prior to 2.24.6 allows a substituter or malicious user to craft a NAR that, when unpacked by Nix, causes Nix to write to arbitrary file system locations to which the Nix process has access. This will be with root permissions when using the Nix daemon. This issue is fixed in Nix 2.24.6.
Affected products
Nix. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nixos Nix runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Nixos products
CVE-2025-54864CVE-2025-54800CVE-2025-32435CVE-2024-45049CVE-2024-32657CVE-2024-27297CVE-2024-12088CVE-2024-12087All 13
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.