CVE-2026-35355
MEDIUM6.3EPSS 0.01%uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
發布日:2026/4/22修改日:2026/5/5
描述
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.
受影響套件(2)
- crates.io/coreutilsfrom 0, < 0.6.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-35355
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-35355
- PATCHhttps://github.com/uutils/coreutils
- WEBhttps://github.com/uutils/coreutils/commit/b5bbabc18a1121908848d836f869a4e98eb63886
- WEBhttps://github.com/uutils/coreutils/pull/10067
- WEBhttps://github.com/uutils/coreutils/releases/tag/0.6.0