{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"low"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2021-27851","title":"Title"},{"category":"description","text":"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.","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2021-27851","url":"https://www.suse.com/security/cve/CVE-2021-27851"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1184622 for CVE-2021-27851","url":"https://bugzilla.suse.com/1184622"}],"title":"SUSE CVE CVE-2021-27851","tracking":{"current_release_date":"2025-12-19T02:02:39Z","generator":{"date":"2024-06-04T12:59:44Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2021-27851","initial_release_date":"2024-06-04T12:59:44Z","revision_history":[{"date":"2024-06-04T12:59:44Z","number":"2","summary":"Current version"},{"date":"2025-01-01T04:39:00Z","number":"3","summary":"Current version"},{"date":"2025-02-15T05:13:20Z","number":"4","summary":"Current version"},{"date":"2025-02-17T05:38:05Z","number":"5","summary":"Current version"},{"date":"2025-03-15T09:04:29Z","number":"6","summary":"Current version"},{"date":"2025-12-17T01:52:03Z","number":"7","summary":"description changed"},{"date":"2025-12-19T02:02:39Z","number":"8","summary":"description changed"}],"status":"interim","version":"8"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}},{"category":"product_version","name":"guix-1.3.0-1.8","product":{"name":"guix-1.3.0-1.8","product_id":"guix-1.3.0-1.8","product_identification_helper":{"cpe":"cpe:2.3:a:gnu:guix:1.3.0:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/guix@1.3.0-1.8"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"guix-1.3.0-1.8 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:guix-1.3.0-1.8"},"product_reference":"guix-1.3.0-1.8","relates_to_product_reference":"openSUSE Tumbleweed"}]},"vulnerabilities":[{"cve":"CVE-2021-27851","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2021-27851"}],"notes":[{"category":"general","text":"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.","title":"CVE description"}],"product_status":{"recommended":["openSUSE Tumbleweed:guix-1.3.0-1.8"]},"references":[{"category":"external","summary":"CVE-2021-27851","url":"https://www.suse.com/security/cve/CVE-2021-27851"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1184622 for CVE-2021-27851","url":"https://bugzilla.suse.com/1184622"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["openSUSE Tumbleweed:guix-1.3.0-1.8"]}],"scores":[{"cvss_v3":{"baseScore":5.5,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"products":["openSUSE Tumbleweed:guix-1.3.0-1.8"]}],"threats":[{"category":"impact","date":"2021-04-10T19:09:55Z","details":"low"}],"title":"CVE-2021-27851"}]}