Uutils coreutils
uutils coreutils Path-Based Safety Bypass with --preserve-root
A vulnerability in the rm utility of uutils coreutils allows a bypass of the --preserve-root protection. The implementation uses a path-string check rather than comparing device and inode numbers to identify the root directory. An attacker or accidental user can bypass this safeguard by using a symbolic link that resolves to the root directory (e.g., /tmp/rootlink -> /), potentially leading to the unintended recursive deletion of the entire root filesystem.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.7high · scored by NVD · CWE-59
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Uutils coreutils
- < 0.7.0
Fixed in 0.7.0
Mitigation
Upgrade coreutils to 0.7.0 or later.
References
- Patch github.com/uutils/coreutils/pull/9706
- Vendor advisory github.com/uutils/coreutils/releases/tag/0.7.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.