Katalog CVE

CVE-2026-39860

Krytyczne
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Nix to menedżer pakietów dla systemów Linux i innych systemów Unix. Błąd w poprawce dla CVE-2024-27297 umożliwia dowolne nadpisywanie plików, które mogą być zapisywane przez proces Nix, co może prowadzić do uzyskania uprawnień roota przez użytkowników w instalacjach wieloużytkownikowych.

Ocena ryzyka

Podatność ta stwarza poważne ryzyko dla organizacji, ponieważ każdy użytkownik mający możliwość przesyłania zadań do demona Nix może modyfikować wrażliwe pliki i uzyskać uprawnienia roota.

Rekomendacja

Zaleca się ograniczenie dostępu do demona Nix tylko do zaufanych użytkowników oraz monitorowanie i audytowanie działań związanych z budowaniem pakietów.

Oryginalny opis (angielski, źródło NVD)

Nix is a package manager for Linux and other Unix systems. A bug in the fix for CVE-2024-27297 allowed for arbitrary overwrites of files writable by the Nix process orchestrating the builds (typically the Nix daemon running as root in multi-user installations) by following symlinks during fixed-output derivation output registration. This affects sandboxed Linux builds - sandboxed macOS builds are unaffected. The location of the temporary output used for the output copy was located inside the build chroot. A symlink, pointing to an arbitrary location in the filesystem, could be created by the derivation builder at that path. During output registration, the Nix process (running in the host mount namespace) would follow that symlink and overwrite the destination with the derivation's output contents. In multi-user installations, this allows all users able to submit builds to the Nix daemon (allowed-users - defaulting to all users) to gain root privileges by modifying sensitive files. This

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS