Skip to main content
VulnerabilityPublished Updated

Duplicate Advisory: uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition

Affects coreutilsSource GCVE Database

0

CVSS 6.3 Medium : upgrade to 0.7.0 when convenient.

Data as of 7 Jul 2026, 12:28 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.7.0
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

What to do

Upgrade coreutils to 0.7.0.

Affected software

ProductAffectedFixed in
crates.iocoreutilsAffected
  • <0.7.0
Fixed in
  • 0.7.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Since this advisory is a duplicate and withdrawn, refer to the original advisory for official fixes or mitigation steps. If you cannot patch yet, avoid using the -D flag in untrusted or concurrent environments to reduce risk.

Description

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-gwm6-q8ch-hcfr. This link is maintained to preserve external references. ### Original Description A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the install utility of uutils coreutils when using the -D flag. The command creates parent directories and subsequently performs a second path resolution to create the target file, neither of which is anchored to a directory file descriptor. An attacker with concurrent write access can replace a path component with a symbolic link between these operations, redirecting the privileged write to an arbitrary file system location.

References

Community reviews

Loading reviews…