CVE-2024-27297
CVE-2024-27297 · Nix Corruption of fixed-output derivations
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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 · Moyenne · EPSS 0,6% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
nix
- Versions du logiciel
- >= 2.3.0, < 2.3.18: Concernée
- >= 2.4.0, < 2.18.2: Concernée
- >= 2.19.0, < 2.19.4: Concernée
- >= 2.20.0, < 2.20.5: Concernée
Aucun correctif publié
nix Debian:12
- Versions du logiciel
- 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
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
nix Debian:13
- Plages de versions concernées
- ECOSYSTEM: < 2.22.1+dfsg-1
Mettez à jour vers 2.22.1+dfsg-1
nix Debian:14
- Plages de versions concernées
- ECOSYSTEM: < 2.22.1+dfsg-1
Mettez à jour vers 2.22.1+dfsg-1
guix Ubuntu:Pro:22.04:LTS
- Versions du logiciel
- 1.2.0-4
- 1.3.0-2
- 1.3.0-4
- Plages de versions concernées
- ECOSYSTEM: < 1.3.0-4ubuntu0.1~esm1
Mettez à jour vers 1.3.0-4ubuntu0.1~esm1
nix Ubuntu:Pro:24.04:LTS
- Versions du logiciel
- 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
- Plages de versions concernées
- ECOSYSTEM: < 2.18.1+dfsg-1ubuntu5+esm2
Mettez à jour vers 2.18.1+dfsg-1ubuntu5+esm2
Sources originales
- 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