CVE-2024-27297
CVE-2024-27297 · Nix Corruption of fixed-output derivations
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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.
CVSS 6.3 · Mittel · EPSS 0,6% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system
Betroffene Produkte und Versionen
nix
- Softwareversionen
- >= 2.3.0, < 2.3.18: Betroffen
- >= 2.4.0, < 2.18.2: Betroffen
- >= 2.19.0, < 2.19.4: Betroffen
- >= 2.20.0, < 2.20.5: Betroffen
Keine Korrektur veröffentlicht
nix Debian:12
- Softwareversionen
- 2.16.1+dfsg-1
- 2.16.1+dfsg-2
- 2.16.1+dfsg-3
- 2.17.1+dfsg-1
- 2.18.1+dfsg-1
- 2.22.1+dfsg-1
- 2.23.3+dfsg-1
- 2.23.3+dfsg-2
- 2.24.12+dfsg-1
- 2.24.8+dfsg-1
- 2.24.9+dfsg-1
- 2.24.9+dfsg-2
- 2.25.4+dfsg-1
- 2.26.3+dfsg-1
- 2.32.5+dfsg-1
- 2.32.5+dfsg-2
- 2.34.3+dfsg-1
- 2.34.6+dfsg-1
- 2.34.8+dfsg-1
- 2.8.0-1.1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
nix Debian:13
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.22.1+dfsg-1
Auf 2.22.1+dfsg-1 aktualisieren
nix Debian:14
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.22.1+dfsg-1
Auf 2.22.1+dfsg-1 aktualisieren
guix Ubuntu:Pro:22.04:LTS
- Softwareversionen
- 1.2.0-4
- 1.3.0-2
- 1.3.0-4
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.3.0-4ubuntu0.1~esm1
Auf 1.3.0-4ubuntu0.1~esm1 aktualisieren
nix Ubuntu:Pro:24.04:LTS
- Softwareversionen
- 2.16.1+dfsg-3ubuntu1
- 2.18.1+dfsg-1ubuntu1
- 2.18.1+dfsg-1ubuntu2
- 2.18.1+dfsg-1ubuntu4
- 2.18.1+dfsg-1ubuntu5
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.18.1+dfsg-1ubuntu5+esm2
Auf 2.18.1+dfsg-1ubuntu5+esm2 aktualisieren
Originalquellen
- https://github.com/NixOS/nix/security/advisories/GHSA-2ffj-w4mj-pg37
- https://github.com/NixOS/nix/commit/f8170ce9f119e5e6724eb81ff1b5a2d4c0024000
- https://hackmd.io/03UGerewRcy3db44JQoWvw
- https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/
- https://nvd.nist.gov/vuln/detail/CVE-2024-27297