GHSA-r5w3-xm58-jv6j · Severity: medium · Ecosystem: rust — 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.
Conclusion & alert: CVE-2022-46176 is rated Low Risk (33.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.15%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-25 | 0.15% | 0.15% | -0.00% |
| 2 | 2026-05-22 | 0.15% | 0.15% | +0.00% |
| 3 | 2026-03-23 | — | 0.15% | — |
Full EPSS history (14 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
1.6 | 3.6 | [email protected] |
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | [email protected] |
GHSA-r5w3-xm58-jv6j · Severity: medium · Ecosystem: rust — Cargo did not verify SSH host keys
| 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 |
| URL | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2023/11/05/6 | |
| http://www.openwall.com/lists/oss-security/2023/11/06/5 | |
| https://github.com/rust-lang/cargo/security/advisories/GHSA-r5w3-xm58-jv6j | Mitigation Third Party Advisory |
| https://github.com/rust-lang/wg-security-response/tree/main/patches/CVE-2022-46176 | Patch Third Party Advisory |