CVE & CISA-KEV Catalog

CVE-2024-27297

MEDIUM
6.3
CVSS v3
NVD

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.

How to fix

Remediation Available
guixDebian
Fixed in:1.2.0-4+deb11u2CVE-2024-27297
Fixed in:1.4.0-6CVE-2024-27297
nixUbuntu
Fixed in:2.6.0+dfsg-3ubuntu0.1~esm1USN-7633-1
Fixed in:2.18.1+dfsg-1ubuntu5+esm2USN-7633-1
nix-binUbuntu
Fixed in:2.6.0+dfsg-3ubuntu0.1~esm1USN-7633-1
Fixed in:2.18.1+dfsg-1ubuntu5+esm2USN-7633-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorAdjacent
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityLow

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

Exploit Intelligence

0.59%probability of exploitation in 30 days
44thpercentile

Moderate risk: more likely to be exploited than 44% of all known CVEs.

References

Exploit1
Vendor Advisory1
Other references1

Related Vulnerabilities

Other CWE-367 (TOCTOU Race Condition) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-36980High8.183%-Fix
CVE-2024-30088High7.068%KEV + RansomFix
CVE-2004-0594Medium5.155%-Fix
CVE-2024-50379Critical9.844%-Fix
CVE-2023-38146High8.839%-Fix
CVE-2024-0132Critical9.037%-Fix
Embed a live status badge for CVE-2024-27297
CVE-2024-27297 severity badge

Markdown

[![CVE-2024-27297](https://tridentstack.com/cve/badge/CVE-2024-27297.svg)](https://tridentstack.com/cve/CVE-2024-27297)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-27297"><img src="https://tridentstack.com/cve/badge/CVE-2024-27297.svg" alt="CVE-2024-27297"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-06-27.