Uutilsのuutils coreutilsにおける信頼できない検索パスに関する脆弱性
| Title |
Uutilsのuutils coreutilsにおける信頼できない検索パスに関する脆弱性
|
| Summary |
uutils coreutils の chroot ユーティリティには、--userspec オプションを使用した際に脆弱性が存在します。このユーティリティは、chroot に入った後に root 権限を剥奪する前に getpwnam() を使ってユーザ仕様を解決します。glibc ベースのシステムでは、これにより Name Service Switch (NSS) が新しいルートディレクトリから共有ライブラリ(例: libnss_*.so.2)を読み込む可能性があります。もし NEWROOT が攻撃者によって書き込み可能であれば、悪意のある NSS モジュールを注入し、root 権限で任意のコードを実行でき、完全なコンテナ脱出や権限昇格を引き起こす恐れがあります。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 22, 2026, midnight |
| Registration Date |
April 27, 2026, 11:17 a.m. |
| Last Update |
April 27, 2026, 11:17 a.m. |
|
CVSS3.0 : 重要
|
| Score |
7.8
|
| Vector |
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected System
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月27日] 掲載 |
April 27, 2026, 11:17 a.m. |
NVD Vulnerability Information
CVE-2026-35368
| Summary |
A vulnerability exists in the chroot utility of uutils coreutils when using the --userspec option. The utility resolves the user specification via getpwnam() after entering the chroot but before dropping root privileges. On glibc-based systems, this can trigger the Name Service Switch (NSS) to load shared libraries (e.g., libnss_*.so.2) from the new root directory. If the NEWROOT is writable by an attacker, they can inject a malicious NSS module to execute arbitrary code as root, facilitating a full container escape or privilege escalation.
|
| Publication Date |
April 23, 2026, 2:16 a.m. |
| Registration Date |
April 25, 2026, 4:05 a.m. |
| Last Update |
April 25, 2026, 4:18 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:* |
|
|
|
|
Related information, measures and tools
Common Vulnerabilities List