CVE-2024-27297
CVE-2024-27297 · Nix Corruption of fixed-output derivations
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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 · Media · EPSS 0,6% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system
Productos y versiones afectados
nix
- Versiones
- >= 2.3.0, < 2.3.18: Afectada
- >= 2.4.0, < 2.18.2: Afectada
- >= 2.19.0, < 2.19.4: Afectada
- >= 2.20.0, < 2.20.5: Afectada
Sin corrección publicada
nix Debian:12
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
nix Debian:13
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.22.1+dfsg-1
Actualiza a 2.22.1+dfsg-1
nix Debian:14
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.22.1+dfsg-1
Actualiza a 2.22.1+dfsg-1
guix Ubuntu:Pro:22.04:LTS
- Versiones
- 1.2.0-4
- 1.3.0-2
- 1.3.0-4
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.3.0-4ubuntu0.1~esm1
Actualiza a 1.3.0-4ubuntu0.1~esm1
nix Ubuntu:Pro:24.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.18.1+dfsg-1ubuntu5+esm2
Actualiza a 2.18.1+dfsg-1ubuntu5+esm2
Fuentes 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