Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 15 min 134 bronnen 3 kritiek 14 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-39860

CRITICAL · 9.0 CVSS Gepubliceerd: CWE-61

Beschrijving NL

Nix is een pakketbeheerder voor Linux en andere Unix-systemen. Een bug in de oplossing voor CVE-2024-27297 stond willekeurige overschrijvingen toe van bestanden die kunnen worden beschreven door het Nix-proces dat de builds orkestreert (meestal de Nix-daemon die als root wordt uitgevoerd in installaties met meerdere gebruikers) door symlinks te volgen tijdens de registratie van de uitvoer van de vaste output. Dit heeft invloed op sandboxed Linux-builds - sandboxed macOS-builds worden niet beïnvloed. De locatie van de tijdelijke uitvoer die werd gebruikt voor de uitvoerkopie bevond zich in de build chroot. Een symlink, die wijst naar een willekeurige locatie in het bestandssysteem, kan worden gemaakt door de afleidingsbouwer op dat pad. Tijdens de uitvoerregistratie zou het Nix-proces (uitgevoerd in de host mount namespace) die symlink volgen en de bestemming overschrijven met de uitvoerinhoud van de afleiding. In installaties met meerdere gebruikers kunnen alle gebruikers die builds kunnen indienen bij de Nix-daemon (toegestane gebruikers - standaard voor alle gebruikers) rootprivileges krijgen door gevoelige bestanden te wijzigen. Deze kwetsbaarheid is opgelost in 2.34.5, 2.33.4, 2.32.7, 2.31.4, 2.30.4, 2.29.3 en 2.28.6.

Origineel (Engels) tonen

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 vulnerability is fixed in 2.34.5, 2.33.4, 2.32.7, 2.31.4, 2.30.4, 2.29.3, and 2.28.6.

Vendors

Nixos Linux

Affected products

Nix Linux Kernel

References