CVE-2024-27297

Nix Corruption of fixed-output derivations

MEDIUM
5.9
CVSS Score
Published: March 11, 2024 at 09:24 PM UTC
Updated: June 17, 2026 at 07:19 AM UTC
1 product affected across 1 vendorNix

Using nix by NixOS?

Get instant alerts when new vulnerabilities affect nix - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.18.2v < 2.19.4v < 2.20.5v < 2.3.182.19.0 ≤ v < 2.19.42.20.0 ≤ v < 2.20.52.4 ≤ v < 2.18.2
Affected range stops below 2.18.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.19.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.20.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.3.18, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-367

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card