From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WC3BCYZSU2A8FgAA0tVLHw (envelope-from ) for ; Thu, 18 Mar 2021 13:15:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eFWMBYZSU2CDBAAA1q6Kng (envelope-from ) for ; Thu, 18 Mar 2021 13:15:50 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 41CC117CD5 for ; Thu, 18 Mar 2021 14:15:49 +0100 (CET) Received: from localhost ([::1]:46672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMsVA-0002SP-1g for larch@yhetil.org; Thu, 18 Mar 2021 09:15:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMsUR-0002Q8-ET for bug-guix@gnu.org; Thu, 18 Mar 2021 09:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMsUQ-00034u-A6 for bug-guix@gnu.org; Thu, 18 Mar 2021 09:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMsUQ-0007Xy-5R; Thu, 18 Mar 2021 09:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47229: Local privilege escalation via guix-daemon and =?UTF-8?Q?=E2=80=98--keep-failed=E2=80=99?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 18 Mar 2021 13:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47229 X-GNU-PR-Package: guix X-GNU-PR-Keywords: security To: 47229@debbugs.gnu.org Received: via spool by 47229-submit@debbugs.gnu.org id=B47229.161607327828956 (code B ref 47229); Thu, 18 Mar 2021 13:15:02 +0000 Received: (at 47229) by debbugs.gnu.org; 18 Mar 2021 13:14:38 +0000 Received: from localhost ([127.0.0.1]:45331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMsU2-0007Wy-H5 for submit@debbugs.gnu.org; Thu, 18 Mar 2021 09:14:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMsU1-0007Wk-H7 for 47229@debbugs.gnu.org; Thu, 18 Mar 2021 09:14:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54700) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMsTv-0002mP-0G; Thu, 18 Mar 2021 09:14:32 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53122 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lMsTu-0001vF-CM; Thu, 18 Mar 2021 09:14:30 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87lfaksock.fsf@gnu.org> <878s6ksn1b.fsf@gnu.org> Date: Thu, 18 Mar 2021 14:14:28 +0100 In-Reply-To: <878s6ksn1b.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 18 Mar 2021 12:45:36 +0100") Message-ID: <87tup8r4cr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616073349; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=m5LycPxC2phVguGyE6/HfQ0hb8HU5biXC8v6sIMkcqk=; b=B7amMWc/1Fi8rvr/l++ZLAG+ZxvmQlWSkpaCmrC08EicaOY9L+TdmvUpihWV6S9WT2D0oP f27If5LauQ9oOnNgPbjgp0LmKRKxYad5HqZ+H0A2quNhpwmpLq20iQcgrb2tApAv/UwfmH gDTWXgZxIRtFXq5gHef2dJs7M8RYWmAjfDXpBGpYqG+kjoI8404UJBXktR6ncaKeRkjsyz vzYzFTfzyDKw5RBTSQ/qrj4vGZjBt4Nh+3A/rw1WjElUpX/CwfWCyXlavhdin72JxXnzz5 geRe+00GauIAP5aEjhho+0nIcL5PStLIXVtSlyVuIUNHWIkUg8xeomsVSpxlgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616073349; a=rsa-sha256; cv=none; b=IplMnm7yqI9cGUcuz9d1IpOdTWqzH2dtZi5hji8VijA2b1dA7ZOEzvBFzcD+JbPD35JCU4 oCAUEMUls3vpAFcicFP/D/wQv0giMR/3OM9lWRiaT+TG1r1Xzd/6LflmvUJGqeyrX9LPqb gmEFTKsojDQRmQwkb6mXRZxynroDNCOGBkG/Ulk89ojFV5CweOrtIz5i1mq4VU7FYwpAMK GvkB5x3Gs0EUT5Err6FIwVORljoaqAx0zAvf9+Z4KuZZ9jG30A8TNUkgQDRY8GxrTsVIfw KBFScQ/54HpErmMvcqTpgpm6rLcMJb6OfaSvYjY+xbRHxs70tbP6iDW1pqv39g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 41CC117CD5 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2VzqZcUfGANu An additional data point: guix-daemon chowns build trees to the caller upon failure (a very handy feature) since this 2016 commit: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=2608e40988ba8cf51723fe0d21bdedf6b3997c9c The Nix build daemon, which guix-daemon is based on, did not have this feature.