CVE-2022-46176: Cargo did not verify SSH host keys
rust-lang · cargo
Affected: rust-lang cargo · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 53% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- rust-lang · cargo<= 0.67.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- rust-lang
- Published
- January 2023
CoverageNo articles yet
No CyberSIXT article names CVE-2022-46176 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-347cwe.mitre.org
- github.com/rust-lang/cargo/security/advisories/GHSA-r5w3-xm58-jvgithub.com
- github.com/rust-lang/wg-security-response/tree/main/patches/CVE-github.com
- openwall.com/lists/oss-security/2023/11/05/6openwall.com
- openwall.com/lists/oss-security/2023/11/06/5openwall.com