uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race
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-v24v-f45g-w7jf | uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition |
Github GHSA |
GHSA-239g-2685-54x3 | install: TOCTOU symlink race (unlink-then-create without O_EXCL) allows arbitrary file overwrite |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.118% 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 | The install utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file installation. The implementation unlinks an existing destination file and then recreates it using a path-based operation without the O_EXCL flag. A local attacker can exploit the window between the unlink and the subsequent creation to swap the path with a symbolic link, allowing them to redirect privileged writes to overwrite arbitrary system files. | |
| Title | uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race | |
| Weaknesses | CWE-367 | |
| References |
| |
| Metrics |
cvssV3_1
|