CVE-2022-46176

CVSS V2 None CVSS V3 None
Description
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.
Overview
  • CVE ID
  • CVE-2022-46176
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2023-01-11T21:15:10
  • Last Modified Date
  • 2023-01-19T19:07:07
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:* 1 OR 0.67.0
History
Created Old Value New Value Data Type Notes
2023-01-12 05:18:00 Added to TrackCVE
2023-01-12 05:18:02 Weakness Enumeration new
2023-01-12 14:15:16 2023-01-12T13:56:24 CVE Modified Date updated
2023-01-12 14:15:16 Received Awaiting Analysis Vulnerability Status updated
2023-01-18 16:16:13 Awaiting Analysis Undergoing Analysis Vulnerability Status updated
2023-01-19 20:14:04 2023-01-19T19:07:07 CVE Modified Date updated
2023-01-19 20:14:04 Undergoing Analysis Analyzed Vulnerability Status updated
2023-01-19 20:14:04 CPE Information updated