VDB

CVE-2024-27297

CVE-2024-27297 PUBLISHED CVSS 6.3 MEDIUM

Nix Corruption of fixed-output derivations

Reported by github_m · Published March 11, 2024

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.

Risk scores

CVSS 3.1
6.3
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Affected products

VendorProductVersions
NixOSnix>= 2.3.0, < 2.3.18, >= 2.4.0, < 2.18.2, >= 2.19.0, < 2.19.4
alpinenix0
NixOSnix2.3.0, 2.4.0, 2.19.0
alpineguix0

Timeline

  • Mar 11, 2024 CVE Published
  • Mar 11, 2024 PoC Published (7 in total, the first dated here)
  • Mar 12, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
  • Jun 27, 2025 CVE Updated
  • Jan 15, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-27297
vulnetix vdb fixes CVE-2024-27297

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-27297/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›