CVE-2024-45593: nixos nix Path Traversal
Vulnerability summary
CVE-2024-45593 is a critical (CVSS 9.1) Path Traversal vulnerability in nixos nix. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 48% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Duplicates 1 · Related 1Timeline
- 10-09-2024PublishedVulnerability first disclosed.
- 10-09-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.60%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
0.00 pp
From 0.60% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Nixos1 product
- nix≥ 2.24.0, < 2.24.6
Ubuntu1 product
- nix< 2.6.0+dfsg-3ubuntu0.1~esm1 | < 2.18.1+dfsg-1ubuntu5+esm2
2 vendors · 2 products
References
5 links- github.com/NixOS/nix/security/advisories/GHSA-h4vv-h3jq-v493X Refsource CONFIRMREPORTVendor Advisory