CVE-2024-27297

Public Exploit
Nix Corruption of fixed-output derivations

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.

Category

6.3
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.05%
Vendor Advisory github.com
Affected: NixOS nix
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-27297?
CVE-2024-27297 has been scored as a medium severity vulnerability.
How to fix CVE-2024-27297?
To fix CVE-2024-27297, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-27297 being actively exploited in the wild?
It is possible that CVE-2024-27297 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-27297?
CVE-2024-27297 affects NixOS nix.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.