CVE-2022-46176 | Cargo did not verify SSH host keys

Cargo is a Rust package manager. The Rust Security Response WG was notified that Cargo did not perform SSH host key verification when cloning indexes and dependencies via SSH. An attacker could exploit this to perform man-in-the-middle (MITM) attacks. This vulnerability has been assigned CVE-2022-46176. All Rust versions containing Cargo before 1.66.1 are vulnerable. Note that even if you don't explicitly use SSH for alternate registry indexes or crate dependencies, you might be affected by this vulnerability if you have configured git to replace HTTPS connections to GitHub with SSH (through git's [`url.<base>.insteadOf`][1] setting), as that'd cause you to clone the crates.io index through SSH. Rust 1.66.1 will ensure Cargo checks the SSH host key and abort the connection if the server's public key is not already trusted. We recommend everyone to upgrade as soon as possible.

公開: 2023-01-11 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2022-46176 は低リスク(37.8/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.65%、46 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2022-46176 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.15% 0.65% +0.50%
2 2026-05-25 0.15% 0.15% -0.00%
3 2026-05-22 0.15%

EPSS の全履歴 (全 15 件)

CVE-2022-46176 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
5.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
1.6 3.6 [email protected]
5.9 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.2 3.6 [email protected]

CVE-2022-46176 の弱点分類(列挙)

CVE-2022-46176 の GitHub Security Advisory

GHSA-r5w3-xm58-jv6j · 深刻度: medium · エコシステム: rust — Cargo did not verify SSH host keys

CVE-2022-46176 の OS トラッカー

vendor priority summary link
alpine medium CVE-2022-46176: 1 source package rows (rust); 7 state rows across 7 repos (3.18-community, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-community, edge-main); fixed 7, open 0. https://security.alpinelinux.org/vuln/CVE-2022-46176
debian not yet assigned CVE-2022-46176 not yet assigned priority: Debian including 2 source packages (cargo, rust-cargo), 7 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5, open 2. https://security-tracker.debian.org/tracker/CVE-2022-46176
gentoo normal CVE-2022-46176: 1 GLSA(s) (202409-07), 2 atom(s) (dev-lang/rust, dev-lang/rust-bin); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-46176
redhat medium https://access.redhat.com/security/cve/CVE-2022-46176
suse high CVE-2022-46176 severity important: SUSE including 66 source package names (1.65-13.5:cargo1.65-1.65.0-150300.7.9.1, 1.65-13.5:rust1.65-1.65.0-150300.7.9.1, …), 475 product×package rows across 36 product lines (Container bci/rust, SUSE CaaS Platform 4.0, … (36 product lines)): Will Not Fix 406, Fixed 44, Known Not Affected 25. https://www.suse.com/security/cve/CVE-2022-46176/
ubuntu medium CVE-2022-46176 medium priority: Ubuntu including 2 source packages (cargo, rust-cargo), 26 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 7, not-affected 6, ignored 4, released 4, needed 3, needs-triage 2. https://ubuntu.com/security/CVE-2022-46176

CVE-2022-46176 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
rust-lang cargo <= 0.67.0 cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:*

CVE-2022-46176 の参考情報

cvelogic Threat Intelligence