Description
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.
References (4)
Core 4
Core References
Vendor Advisory x_refsource_confirm
https://github.com/NixOS/nix/security/advisories/GHSA-2ffj-w4mj-pg37
Patch x_refsource_misc
https://github.com/NixOS/nix/commit/f8170ce9f119e5e6724eb81ff1b5a2d4c0024000
Exploit x_refsource_misc
https://hackmd.io/03UGerewRcy3db44JQoWvw
Scores
CVSS v3
6.3
EPSS
0.0006
EPSS Percentile
19.3%
Attack Vector
ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-367
Status
published
Products (1)
nixos/nix
< 2.3.18
Published
Mar 11, 2024
Tracked Since
Feb 18, 2026