Uutilsのuutils coreutilsにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
| Title |
Uutilsのuutils coreutilsにおけるTime-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
|
| Summary |
uutils coreutilsのinstallユーティリティには、ファイルインストール時にチェック時と使用時の時間差(TOCTOU)競合状態の脆弱性があります。実装では既存の宛先ファイルのリンクを解除してから、O_EXCLフラグを使用せずにパスベースの操作で再作成しています。ローカル攻撃者はリンク解除とその後の再作成の間の隙間を悪用してパスをシンボリックリンクに置き換えることができ、権限のある書き込みを任意のシステムファイルにリダイレクトして上書きすることが可能です。
|
| Possible impacts |
当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 22, 2026, midnight |
| Registration Date |
April 28, 2026, 10:12 a.m. |
| Last Update |
April 28, 2026, 10:12 a.m. |
|
CVSS3.0 : 警告
|
| Score |
6.3
|
| Vector |
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H |
Affected System
| Uutils |
|
uutils coreutils 0.6.0 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月28日] 掲載 |
April 28, 2026, 10:12 a.m. |
NVD Vulnerability Information
CVE-2026-35355
| Summary |
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.
|
| Publication Date |
April 23, 2026, 2:16 a.m. |
| Registration Date |
April 25, 2026, 4:05 a.m. |
| Last Update |
April 27, 2026, 9:27 p.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:* |
|
|
|
0.6.0 |
Related information, measures and tools
Common Vulnerabilities List