6.3

CVE-2024-27297: nixos nix

CVSS: 6.3v3.1MediumModified
AliasesUBUNTU-CVE-2024-27297DEBIAN-CVE-2024-27297DSA-5669-1
Published 11-03-2024Last modified 27-06-2025

Vulnerability summary

CVE-2024-27297 is a medium (CVSS 6.3) vulnerability in nixos nix. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 47.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.59%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 11-03-2024
    PublishedVulnerability first disclosed.
  2. 27-06-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.59%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

0.00 pp

From 0.59% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.59%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (hackmd.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • guix< 1.2.0-4+deb11u2 | < 1.4.0-3+deb12u1
  • nixAll versions (No fix recorded) | < 2.22.1+dfsg-1
Ubuntu2 products
  • guix< 1.3.0-4ubuntu0.1~esm1
  • nix< 2.18.1+dfsg-1ubuntu5+esm2
Nixos1 product
  • nix≥ 2.3.0, < 2.3.18 | ≥ 2.4.0, < 2.18.2 | < 2.3.18 | ≥ 2.4, < 2.18.2 | ≥ 2.19.0, < 2.19.4 | ≥ 2.20.0, < 2.20.5

3 vendors · 5 products

References

11 links
Show all 11 references