1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 19:23:54 +02:00

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

Copy built outputs
This commit is contained in:
Eelco Dolstra 2024-03-07 11:56:24 +01:00 committed by GitHub
commit da62528487
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 256 additions and 1 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.