Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-27851

published

Local privilege escalation in GNU Guix via guix-daemon and '--keep-failed'

Published
26 Apr 2021, 15:35:28 UTC
Updated
17 Sep 2024, 02:11:05 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
GNU Guix — guix-daemonv0.11.0-3298-g2608e40988 to < unspecified · unspecified to < v1.2.0-75109-g94f0312546 Affected Not stated certcc
SUSE / openSUSE openSUSE-Tumbleweed guixaarch64 Advisory build 1.3.0-1.8 OPENSUSE-SU-2024:10836-1
SUSE / openSUSE openSUSE-Tumbleweed guixppc64le Advisory build 1.3.0-1.8 OPENSUSE-SU-2024:10836-1
SUSE / openSUSE openSUSE-Tumbleweed guixs390x Advisory build 1.3.0-1.8 OPENSUSE-SU-2024:10836-1
SUSE / openSUSE openSUSE-Tumbleweed guixx86_64 Advisory build 1.3.0-1.8 OPENSUSE-SU-2024:10836-1

Description

A security vulnerability that can lead to local privilege escalation has been found in ’guix-daemon’. It affects multi-user setups in which ’guix-daemon’ runs locally. 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. Versions after and including v0.11.0-3298-g2608e40988, and versions prior to v1.2.0-75109-g94f0312546 are vulnerable.

en · certcc · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
GNU Guix guix-daemon v0.11.0-3298-g2608e40988 to < unspecified (affected · custom)unspecified to < v1.2.0-75109-g94f0312546 (affected · custom) certcc · cna

Weaknesses

1
  • CWE-264 CWE-264 Permissions, Privileges, and Access Controls (certcc · cna)

References

2

Provider assertions

2

certcc · cna

Local privilege escalation in GNU Guix via guix-daemon and '--keep-failed'

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
2da335d7c31201a0dc3dd4f64f092663f9bfa08ce8be53df43922524cb944da0
Ingested
23 Sep 2026, 07:53:39 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected