CVE-2024-27297: Nix is a package manager for Linux and other Unix systems
CVE-2024-27297 is a medium-severity flaw (CVSS 6.3) affecting nix. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 fix
Why this priority
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.3 (Medium) |
| Attack vector | Adjacent network |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 52%) |
| CISA exploited list | No |
| Weakness | CWE-367 |
| Published | 2024-03-11 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-27297?
nix: upgrade to 2.3.18, 2.18.2, 2.19.4, 2.20.5. Exact commands for each OS are on this page.
Is CVE-2024-27297 being exploited?
CVE-2024-27297 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-27297 affect?
CVE-2024-27297 affects nix. Severity is medium (CVSS 6.3). 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 s
How urgent is CVE-2024-27297?
Priority 44/100. Public exploit reference; On your watchlist
Related CVEs
- CVE-2026-39860 CRITICAL 9.0 UPGRADE Nix is a package manager for Linux and other Unix systems
- CVE-2024-45593 CRITICAL 9.0 UPGRADE Nix is a package manager for Linux and other Unix systems
- CVE-2021-45707 CRITICAL 9.8 UPGRADE An issue was discovered in the nix crate 0.16.0 and later before 0.20.2, 0.21.x before 0.21.2, and 0.22.x befo