1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

Merge pull request from GHSA-2ffj-w4mj-pg37

Sandbox escape 2.19
This commit is contained in:
Eelco Dolstra 2024-03-07 11:56:24 +01:00 committed by GitHub
commit 9179bc5a6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 255 additions and 0 deletions

View file

@ -0,0 +1,14 @@
---
synopsis: Fix a FOD sandbox escape
issues:
prs:
---
Cooperating Nix derivations could send file descriptors to files in the Nix
store to each other via Unix domain sockets in the abstract namespace. This
allowed one derivation to modify the output of the other derivation, after Nix
has registered the path as "valid" and immutable in the Nix database.
In particular, this allowed the output of fixed-output derivations to be
modified from their expected content.
This isn't the case any more.