Path Traversal in Nixos Nix

CVE-2024-45593

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.006 (46.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-45593?
CVE-2024-45593 is a critical-severity vulnerability in Nixos Nix, classified under Path Traversal. CVSS score: 9.0/10. Published 2024-09-10.
How severe is CVE-2024-45593?
Critical severity. CVSS v3 base score is 9.0 out of 10.
Is CVE-2024-45593 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.