本文へ移動
English version →
このページは Debian 向けの修正状況です。脆弱性そのものの説明は CVE 本体のページにあります。 CVE-2025-64517 の詳細 →
未評価

rust-sudo-rs の脆弱性

DEBIAN-CVE-2025-64517 SecPulse初出

概要

rust-sudo-rs に 脆弱性 (DEBIAN-CVE-2025-64517) が存在。不正な操作・情報露出のリスクがあります。sudo 経由で攻撃可能。対策: 0.2.5-5+deb13u1 以上に更新。

自動生成の要約

取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。

rust-sudo-rs という製品で、DEBIAN-CVE-2025-64517 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに sudo のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。
対策: rust-sudo-rs を 0.2.5-5+deb13u1 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「rust-sudo-rs DEBIAN-CVE-2025-64517」を検索してください。

DEBIAN-CVE-2025-64517 (rust-sudo-rs)
脆弱箇所: sudo / targetpw / rootpw
修正バージョン: 0.2.5-5+deb13u1 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

rust-sudo-rs に 脆弱性 (分類未定) があります。攻撃者は sudo を経由して脆弱な処理に到達できます。

影響範囲

rust-sudo-rs の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: sudo / targetpw / rootpw。

重要度

重要度: ?。不正な操作・情報露出のリスクがあります。

修正方法

0.2.5-5+deb13u1 に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定identify
    grep -r 'rust-sudo-rs' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で rust-sudo-rs を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    パッチ適用patch
    Upgrade rust-sudo-rs to 0.2.5-5+deb13u1

    ステージング環境で 0.2.5-5+deb13u1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    事後検証verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

パッケージ影響を受ける版 → 修正版
Debian:13rust-sudo-rs
0.2.5-5+deb13u1 未満→ 0.2.5-5+deb13u1
Debian:14rust-sudo-rs
0.2.10-1 未満→ 0.2.10-1
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

sudo-rs is a memory safe implementation of sudo and su written in Rust. With Defaults targetpw (or Defaults rootpw) enabled, the password of the target account (or root account) instead of the invoking user is used for authentication. sudo-rs starting in version 0.2.5 and prior to version 0.2.10 incorrectly recorded the invoking user’s UID instead of the authenticated-as user's UID in the authentication timestamp. Any later sudo invocation on the same terminal while the timestamp was still valid would use that timestamp, potentially bypassing new authentication even if the policy would have required it. A highly-privileged user (able to run commands as other users, or as root, through sudo) who knows one password of an account they are allowed to run commands as, would be able to run commands as any other account the policy permits them to run commands for, even if they don't know the password for those accounts. A common instance of this would be that a user can still use their own password to run commands as root (the default behaviour of sudo), effectively negating the intended behaviour of the targetpw or rootpw options. Version 0.2.10 contains a patch for the issue. Versions prior to 0.2.5 are not affected, since they do not offer Defaults targetpw or Defaults rootpw.

出典: OSV.dev (Open Source Vulnerabilities) OSV

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく