CVE-2024-27297

Nix Corruption of fixed-output derivations

Published Mar 11, 2024 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5669-1 guix security update
EUVD EUVD 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.
Ubuntu USN Ubuntu USN USN-7633-1 Nix vulnerabilities
Ubuntu USN Ubuntu USN USN-8773-1 GNU Guix vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nixos
Nixos nix
CPEs cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
Vendors & Products Nixos
Nixos nix
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 27, 2025, 12:16 PM
Reserved
Feb 22, 2024, 6:08 PM
Status
Modified
Published
Mar 11, 2024, 10:15 PM
Modified
Jun 17, 2026, 7:19 AM