Live threats

All CVEs / Nixos

CVE-2024-27297Nixos Nix

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
0.7%
probability of exploitation in 30 days · percentile 49
Auth required
No
Published
Mar 11, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-367
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nix.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
nixosnix< 2.3.18
nixosnix≥ 2.4 < 2.18.2
nixosnix≥ 2.19.0 < 2.19.4
nixosnix≥ 2.20.0 < 2.20.5

Official sources

References

Links published by the sources. Open them with care.