CVE-2024-27297
Publication date 11 March 2024
Last updated 14 July 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
guix | 25.04 plucky |
Not affected
|
24.04 LTS noble |
Not affected
|
|
22.04 LTS jammy |
Needs evaluation
|
|
20.04 LTS focal | Not in release | |
nix | 25.04 plucky |
Not affected
|
24.04 LTS noble |
Fixed 2.18.1+dfsg-1ubuntu5+esm2
|
|
22.04 LTS jammy |
Not affected
|
|
20.04 LTS focal | Not in release |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialNotes
sbeattie
this CVE had been incorrectly triaged in Ubuntu as affecting the linux kernel; this has been corrected.
Severity score breakdown
Parameter | Value |
---|---|
Base score |
|
Attack vector | Adjacent |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | High |
Availability impact | Low |
Vector | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
References
Related Ubuntu Security Notices (USN)
- USN-7633-1
- Nix vulnerabilities
- 14 July 2025
Other references
- https://guix.gnu.org/en/blog/2024/fixed-output-derivation-sandbox-bypass-cve-2024-27297/
- https://github.com/NixOS/nix/security/advisories/GHSA-2ffj-w4mj-pg37
- https://github.com/NixOS/nix/commit/244f3eee0bbc7f11e9b383a15ed7368e2c4becc9
- https://github.com/NixOS/nix/commit/f8170ce9f119e5e6724eb81ff1b5a2d4c0024000
- https://hackmd.io/03UGerewRcy3db44JQoWvw
- https://www.cve.org/CVERecord?id=CVE-2024-27297