
CVE catalog
CVE-2024-27297
Nix vulnerabilities
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.59% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nix | sid | 2.34.8+dfsg-1 | fixed |
| Debian | nix | forky | 2.34.8+dfsg-1 | fixed |
| Debian | nix | trixie | 2.26.3+dfsg-1 | fixed |
| Debian | nix | bookworm | 2.8.0-1.1 | vulnerable |
| Ubuntu | nix | noble | Not reported | vulnerable |
| Ubuntu | nix | noble | 2.18.1+dfsg-1ubuntu5+esm2 | fixed |
| Ubuntu | nix-bin | noble | 2.18.1+dfsg-1ubuntu5+esm2 | fixed |
| Ubuntu | nix-setup-systemd | noble | 2.18.1+dfsg-1ubuntu5+esm2 | fixed |
| Ubuntu | guix | noble | 1.4.0-6ubuntu0.1~esm1 | fixed |
| Ubuntu | guix | pro | 1.4.0-5 | vulnerable |
| Ubuntu | guix | pro | 1.4.0-6 | vulnerable |
| Ubuntu | guix | pro | 1.4.0-6build1 | vulnerable |
| Ubuntu | guix | pro | 1.4.0-6ubuntu0.1~esm1 | fixed |
| Ubuntu | guix | pro | 1.2.0-4 | vulnerable |
| Ubuntu | guix | pro | 1.3.0-2 | vulnerable |
| Ubuntu | guix | pro | 1.3.0-4 | vulnerable |
| Ubuntu | guix | pro | 1.3.0-4ubuntu0.1~esm1 | fixed |
| Ubuntu | nix | pro | 2.16.1+dfsg-3ubuntu1 | vulnerable |
| Ubuntu | nix | pro | 2.18.1+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | nix | pro | 2.18.1+dfsg-1ubuntu2 | vulnerable |
| Ubuntu | nix | pro | 2.18.1+dfsg-1ubuntu4 | vulnerable |
| Ubuntu | nix | pro | 2.18.1+dfsg-1ubuntu5 | vulnerable |
| Ubuntu | nix | pro | 2.18.1+dfsg-1ubuntu5+esm2 | fixed |
| Ubuntu | nix | pro | 2.16.1+dfsg-3ubuntu1 | vulnerable |
| Ubuntu | nix | pro | 2.18.1+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | nix | pro | 2.18.1+dfsg-1ubuntu2 | vulnerable |
| Ubuntu | nix | pro | 2.18.1+dfsg-1ubuntu4 | vulnerable |
| Ubuntu | nix | pro | 2.18.1+dfsg-1ubuntu5 | vulnerable |
| Ubuntu | nix | pro | 2.18.1+dfsg-1ubuntu5+esm2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nix | source | sid | 2.22.1+dfsg-1 | not yet assigned | Not reported | [1066812] |
| Debian | nix | source | forky | 2.22.1+dfsg-1 | not yet assigned | Not reported | [1066812] |
| Debian | nix | source | trixie | 2.22.1+dfsg-1 | not yet assigned | Not reported | [1066812] |
| Debian | nix | source | bookworm | (unfixed) | not yet assigned | Not reported | [1066812] |
| Ubuntu | nix | deb | noble | 2.18.1+dfsg-1ubuntu5+esm2 | Not reported | Not reported | Not reported |
| Ubuntu | nix-bin | deb | noble | 2.18.1+dfsg-1ubuntu5+esm2 | Not reported | Not reported | Not reported |
| Ubuntu | nix-setup-systemd | deb | noble | 2.18.1+dfsg-1ubuntu5+esm2 | Not reported | Not reported | Not reported |
| Ubuntu | guix | deb | noble | 1.4.0-6ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | guix | deb | pro | 1.4.0-6ubuntu0.1~esm1 | Not reported | USN-8773-1 | Not reported |
| Ubuntu | guix | deb | pro | 1.3.0-4ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2024-27297 | Not reported |
| Ubuntu | nix | deb | pro | 2.18.1+dfsg-1ubuntu5+esm2 | Not reported | UBUNTU-CVE-2024-27297 | Not reported |
| Ubuntu | nix | deb | pro | 2.18.1+dfsg-1ubuntu5+esm2 | Not reported | USN-7633-1 | Not reported |
Notes
[bookworm] nix: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [nix-bin]Affected
Source package: [nix]
Details (2)
2.8.0-1.1· arm64 · bookwormAffected
usn · nix · debian · bookworm; usn · nix · debian · 12
2.8.0-1.1+b1· amd64 · bookwormAffected
usn · nix · debian · bookworm; usn · nix · debian · 12
- [nix-setup-systemd]Affected
Source package: [nix]
Details (2)
2.8.0-1.1· all · bookwormAffected
usn · nix · debian · bookworm; usn · nix · debian · 12
2.8.0-1.1· all · bookwormAffected
usn · nix · debian · bookworm; usn · nix · debian · 12
[Debian 13 (Trixie)]
- [nix-bin]Fixed
Source package: [nix]
Details (2)
2.26.3+dfsg-1· amd64 · trixieFixed · Fixed:
2.22.1+dfsg-1usn · nix · debian · 13
2.26.3+dfsg-1· arm64 · trixieFixed · Fixed:
2.22.1+dfsg-1usn · nix · debian · 13
- [nix-setup-systemd]Fixed
Source package: [nix]
Details (2)
2.26.3+dfsg-1· all · trixieFixed · Fixed:
2.22.1+dfsg-1usn · nix · debian · 13
2.26.3+dfsg-1· all · trixieFixed · Fixed:
2.22.1+dfsg-1usn · nix · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-27297]
- [https://osv.dev/vulnerability/DSA-5669-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-27297]
- [https://osv.dev/vulnerability/USN-7633-1]
- [https://osv.dev/vulnerability/USN-8773-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-27297]
- [https://ubuntu.com/security/notices/USN-7633-1]
- [https://ubuntu.com/security/notices/USN-8773-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]