uutils coreutils touch Arbitrary File Truncation via TOCTOU Race Condition
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 | affected | — |
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Uutils | Coreutils |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-q6m9-xj2w-xmrc | uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition |
Ubuntu USN |
USN-9041-1 | uutils coreutils vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.104% probability within 30 days)
| Link | Providers |
|---|---|
| https://github.com/uutils/coreutils/issues/10019 |
|
| 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 touch utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file creation. When the utility identifies a missing path, it later attempts creation using File::create(), which internally uses O_TRUNC. An attacker can exploit this window to create a file or swap a symlink at the target path, causing touch to truncate an existing file and leading to permanent data loss. | |
| Title | uutils coreutils touch Arbitrary File Truncation via TOCTOU Race Condition | |
| Weaknesses | CWE-367 | |
| References |
| |
| Metrics |
cvssV3_1
|