CVE-2021-27851
MEDIUMDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 25% of all known CVEs.
References
Related Vulnerabilities
Other CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2012-1456 | Medium | 4.3 | 100% | - | - |
| CVE-2012-1459 | Medium | 4.3 | 100% | - | Fix |
| CVE-2012-1446 | Medium | 4.3 | 100% | - | - |
| CVE-2012-1443 | Medium | 4.3 | 100% | - | - |
| CVE-2012-1442 | Medium | 4.3 | 99% | - | - |
| CVE-2012-1457 | Medium | 4.3 | 98% | - | Fix |
Embed a live status badge for CVE-2021-27851
Markdown
[](https://tridentstack.com/cve/CVE-2021-27851)HTML
<a href="https://tridentstack.com/cve/CVE-2021-27851"><img src="https://tridentstack.com/cve/badge/CVE-2021-27851.svg" alt="CVE-2021-27851"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.