GNU bug report logs

#47229 Local privilege escalation via guix-daemon and ‘--keep-failed’

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #12 received at 47229@debbugs.gnu.org (full text, mbox, reply):

Received: (at 47229) by debbugs.gnu.org; 18 Mar 2021 11:45:47 +0000
From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 07:45:47 2021
Received: from localhost ([127.0.0.1]:45292 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1lMr62-0005QO-QR
	for submit@debbugs.gnu.org; Thu, 18 Mar 2021 07:45:47 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54834)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1lMr60-0005Q4-5x
 for 47229@debbugs.gnu.org; Thu, 18 Mar 2021 07:45:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:53299)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@gnu.org>)
 id 1lMr5u-0002LZ-SS; Thu, 18 Mar 2021 07:45:38 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51782 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@gnu.org>)
 id 1lMr5u-0004bW-7t; Thu, 18 Mar 2021 07:45:38 -0400
From: Ludovic Courtès <ludo@gnu.org>
To: 47229@debbugs.gnu.org
Subject: Re: bug#47229: Local privilege escalation via guix-daemon and
 ‘--keep-failed’
References: <87lfaksock.fsf@gnu.org>
Date: Thu, 18 Mar 2021 12:45:36 +0100
In-Reply-To: <87lfaksock.fsf@gnu.org> ("Ludovic Courtès"'s message of "Thu, 18 Mar 2021 12:17:15 +0100")
Message-ID: <878s6ksn1b.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 47229
Cc: Leo Famulari <leo@famulari.name>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
Ludovic Courtès <ludo@gnu.org> skribis:

> The fix (patch attached) consists in adding a root-owned “wrapper”
> directory in which the build directory itself is located.

The fix has now been pushed:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=ec7fb669945bfb47c5e1fdf7de3a5d07f7002ccf

Followed by an update of the ‘guix’ package to make the fix available:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=94f03125463ee0dba2f7916fcd43fd19d4b6c892

We recommend upgrading the daemon (using commit 94f03125 or later).
On Guix System, you achieve that by running something along these lines:

  guix pull
  sudo guix system reconfigure /run/current-system/configuration.scm
  sudo herd restart guix-daemon

On other distros, assuming services are managed by systemd:

  sudo --login guix pull
  sudo systemctl restart guix-daemon.service

(See <https://guix.gnu.org/manual/en/html_node/Upgrading-Guix.html>.)

Ludo’.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Thu Jan 2 17:46:48 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.