CVE-2024-27297

EUVD-2024-24524
Nix is a package manager for Linux and other Unix systems. A fixed-output derivations on Linux can send file descriptors to files in the Nix store to another program running on the host (or another fixed-output derivation) via Unix domain sockets in the abstract namespace. This allows to modify the output of the derivation, after Nix has registered the path as "valid" and immutable in the Nix database. In particular, this allows the output of fixed-output derivations to be modified from their expected content. This issue has been addressed in versions 2.3.18 2.18.2 2.19.4 and 2.20.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.
TOCTOU
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.3 MEDIUM
ADJACENT_NETWORK
LOW
LOW
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
GitHub_MCNA
6.3 MEDIUM
ADJACENT_NETWORK
LOW
LOW
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: 18%
Affected Products (NVD)
VendorProductVersion
nixosnix
𝑥
< 2.3.18
nixosnix
2.4 ≤
𝑥
< 2.18.2
nixosnix
2.19.0 ≤
𝑥
< 2.19.4
nixosnix
2.20.0 ≤
𝑥
< 2.20.5
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
guix
bookworm
no-dsa
bullseye
1.2.0-4+deb11u2
no-dsa
bullseye (security)
1.2.0-4+deb11u3
fixed
sid
1.4.0-9
fixed
nix
bookworm
no-dsa
bullseye
no-dsa
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
guix
focal
dne
jammy
needs-triage
mantic
ignored
noble
not-affected
oracular
not-affected
plucky
not-affected
questing
dne
nix
focal
dne
jammy
not-affected
mantic
ignored
noble
Fixed 2.18.1+dfsg-1ubuntu5+esm2
released
oracular
ignored
plucky
not-affected
questing
not-affected