Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 10 Apr 2021 13:58:40 -0400
From: Leo Famulari <leo@...ulari.name>
To: oss-security@...ts.openwall.com
Subject: Re: Risk of local privilege escalation in GNU Guix

On Thu, Mar 18, 2021 at 05:27:09PM -0400, Leo Famulari wrote:
> # Vulnerability
> 
> The attack consists in having an unprivileged user spawn a build process, for 
> instance with `guix build`, that makes its build directory world-writable.  The 
> user then creates a hardlink to a root-owned file such as `/etc/shadow` in that
> build directory.  If the user passed the `--keep-failed` option and the build
> eventually fails, the daemon changes ownership of the whole build tree,
> including the hardlink, to the user.  At that point, the user has write access
> to the target file.

This is CVE-2021-27851.

We are very grateful for the invaluable assistance of CERT/CC in getting
this assigned.

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.