uutils coreutils Path-Based Safety Bypass with --preserve-root
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Uutils | coreutils | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Uutils | Coreutils |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-v762-x3cf-5mfg | uutils coreutils has a Link Following Issue Via rm Utility |
Github GHSA |
GHSA-7cr3-h577-g38j | rm: --preserve-root bypassed via a symlink to / (string check instead of dev/inode) |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.185% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Uutils
Uutils coreutils |
|
| CPEs | cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:* | |
| Vendors & Products |
Uutils
Uutils coreutils |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | uutils coreutils Path-Based Safety Bypass with --preserve-root | |
| Weaknesses | CWE-59 | |
| References |
| |
| Metrics |
cvssV3_1
|