Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-27851

5.5 · MEDIUM
Published Apr 26, 2021 gnu CWE-264 EPSS 0.33% (26th pctl)

Overview

CVE-2021-27851 is a medium-severity vulnerability affecting gnu guix. It was published on April 26, 2021 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from gnu. Update guix to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
gnu guix >= 0.11.0, < 1.2.0 Affected

Frequently Asked Questions

What is CVE-2021-27851?

CVE-2021-27851 is a medium-severity vulnerability affecting gnu guix. It was published on April 26, 2021 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-27851?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-27851?

Check the references section for vendor advisories and patches from gnu. Update guix to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-27851?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-27851 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.