Description (CNA)
uutils coreutils versions before 0.10.0 apply setuid or setgid mode to install destinations before finalizing ownership changes, allowing privileged users to leave setuid executables owned by the privileged invoker when ownership changes fail. Attackers can execute leftover setuid files with elevated privileges when ownership change operations fail on capability-restricted systems.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| uutils / coreutils | affected 0.0.18 before 0.10.0; unaffected 0.10.0 |
CWE
CWE-281
References
- https://github.com/uutils/coreutils/security/advisories/GHSA-cgg3-923w-v53m
- https://github.com/uutils/coreutils/pull/13629
- https://github.com/uutils/coreutils/commit/7c87ab04fee8e52d989fb2625568a3eeda1b1f55
- https://github.com/uutils/coreutils/blob/0.9.0/src/uu/install/src/install.rs
- https://github.com/uutils/coreutils
- https://www.vulncheck.com/advisories/uutils-coreutils-0.0.18-before-0.10.0-privilege-escalation-via-setuid
ADP enrichment
No English description supplied.