CVE-2024-45593

EUVD-2024-41529
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.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9 CRITICAL
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub_MCNA
9.1 CRITICAL
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 63%
Affected Products (NVD)
VendorProductVersion
nixosnix
2.24.0 ≤
𝑥
< 2.24.6
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
nix
bookworm
2.8.0-1.1
fixed
bullseye
2.3.7+dfsg1-1
fixed
forky
2.26.3+dfsg-1
fixed
sid
2.26.3+dfsg-1
fixed
trixie
2.26.3+dfsg-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
nix
focal
dne
jammy
Fixed 2.6.0+dfsg-3ubuntu0.1~esm1
released
noble
Fixed 2.18.1+dfsg-1ubuntu5+esm2
released
oracular
ignored
plucky
not-affected
questing
not-affected