aboutsummaryrefslogtreecommitdiff
path: root/etc/news.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-03-18 11:39:39 +0100
committerLudovic Courtès <ludo@gnu.org>2021-03-18 12:18:56 +0100
commitec7fb669945bfb47c5e1fdf7de3a5d07f7002ccf (patch)
treeb9330befde8c1dc8a07ad1a2571cbe4d008a0128 /etc/news.scm
parent898489f48e436e45e86e1ba0fcdb6df5cd5a051a (diff)
downloadguix-ec7fb669945bfb47c5e1fdf7de3a5d07f7002ccf.tar.gz
guix-ec7fb669945bfb47c5e1fdf7de3a5d07f7002ccf.zip
daemon: Prevent privilege escalation with '--keep-failed' [security].
Fixes <https://bugs.gnu.org/47229>. Reported by Nathan Nye of WhiteBeam Security. * nix/libstore/build.cc (DerivationGoal::startBuilder): When 'useChroot' is true, add "/top" to 'tmpDir'. (DerivationGoal::deleteTmpDir): Adjust accordingly. When 'settings.keepFailed' is true, chown in two steps: first the "/top" sub-directory, and then rename "/top" to its parent.
Diffstat (limited to 'etc/news.scm')
0 files changed, 0 insertions, 0 deletions