Local privilege escalation via exposed build outputs
Published Nov 17, 2024 · Updated Nov 20, 2024
Privilege escalation in GNU Guix before 5ab3c4c allows local users to take over a build user via exposed setuid build outputs. The daemon moves failed outputs from the build chroot without sanitizing permissions and exposes successful outputs before canonicalizing metadata. A local user must trigger or encounter a build producing a setuid or setgid executable and win the exposure window; successful use grants the build user's privileges.
Summary
What happened
Privilege escalation in GNU Guix before 5ab3c4c allows local users to take over a build user via exposed setuid build outputs. The daemon moves failed outputs from the build chroot without sanitizing permissions and exposes successful outputs before canonicalizing metadata. A local user must trigger or encounter a build producing a setuid or setgid executable and win the exposure window; successful use grants the build user's privileges.
The record
- CVE
- CVE-2024-52867
- Published
- Nov 17, 2024
- Updated
- Nov 20, 2024
- Vendor
- The GnuPG Project
- Product
- GNU Guix
- Classifications
- CWE-276, T1068
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 17, 2024CVE publishedPublication date reported by the CVE source.
- Nov 20, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <5ab3c4c
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- setuid-exposure-vuln-check.scmproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo