CVE-2026-35356
MEDIUM6.3EPSS 0.01%uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
發布日:2026/4/22修改日:2026/5/5
描述
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.
受影響套件(2)
- crates.io/coreutilsfrom 0, < 0.7.0
- Debian/rust-coreutilsfrom 0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-35356
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-35356
- PATCHhttps://github.com/uutils/coreutils
- WEBhttps://github.com/uutils/coreutils/commit/0c41299975f3c1e21cf5ca968d42cad55ceb42a1
- WEBhttps://github.com/uutils/coreutils/pull/10140
- WEBhttps://github.com/uutils/coreutils/releases/tag/0.7.0