CVE-2024-27297
CVE-2024-27297 · Nix Corruption of fixed-output derivations
Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.
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 · Средний · EPSS 0,6% · Есть исправление
- Опубликовано
- Обновлено
Стек: system
Затронутые продукты и версии
nix
- Версии
- >= 2.3.0, < 2.3.18: Затронуто
- >= 2.4.0, < 2.18.2: Затронуто
- >= 2.19.0, < 2.19.4: Затронуто
- >= 2.20.0, < 2.20.5: Затронуто
Нет опубликованного исправления
nix Debian:12
- Версии
- 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
- Затронутые диапазоны версий
- ECOSYSTEM: (−∞, +∞)
Нет опубликованного исправления
nix Debian:13
- Затронутые диапазоны версий
- ECOSYSTEM: < 2.22.1+dfsg-1
Обновитесь до 2.22.1+dfsg-1
nix Debian:14
- Затронутые диапазоны версий
- ECOSYSTEM: < 2.22.1+dfsg-1
Обновитесь до 2.22.1+dfsg-1
guix Ubuntu:Pro:22.04:LTS
- Версии
- 1.2.0-4
- 1.3.0-2
- 1.3.0-4
- Затронутые диапазоны версий
- ECOSYSTEM: < 1.3.0-4ubuntu0.1~esm1
Обновитесь до 1.3.0-4ubuntu0.1~esm1
nix Ubuntu:Pro:24.04:LTS
- Версии
- 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
- Затронутые диапазоны версий
- ECOSYSTEM: < 2.18.1+dfsg-1ubuntu5+esm2
Обновитесь до 2.18.1+dfsg-1ubuntu5+esm2
Первоисточники
- 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