Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-46176

published medium CVSS 3.1 · 5.3

Cargo did not verify SSH host keys

Published
11 Jan 2023, 20:07:12 UTC
Updated
10 Mar 2025, 21:30:29 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
rust-lang — cargo<= 0.67.0 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation Pending Fix; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-109 Fixed Not stated Amazon Linux assessment
Alpine Linux edge rust Fixed 1.66.1-r0 Package fix record
SUSE / openSUSE SLE-15-SP3 cargo1.65aarch64 Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
Amazon Linux AL2023 rustaarch64 Listed in advisory Not stated ALAS2023-2023-109
Alpine Linux v3.18 rust Fixed 1.66.1-r0 Package fix record
Alpine Linux v3.19 rust Fixed 1.66.1-r0 Package fix record
Show 64 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.20 rust Fixed 1.66.1-r0 Package fix record
Alpine Linux v3.21 rust Fixed 1.66.1-r0 Package fix record
Alpine Linux v3.22 rust Fixed 1.66.1-r0 Package fix record
Alpine Linux v3.23 rust Fixed 1.66.1-r0 Package fix record
Alpine Linux v3.24 chromium-rust Fixed 1.66.1-r0 Package fix record
Alpine Linux v3.24 rust Fixed 1.66.1-r0 Package fix record
SUSE / openSUSE SLE-15-SP3 cargo1.65ppc64le Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP3 cargo1.65s390x Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP3 cargo1.65x86_64 Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP3 rust1.65aarch64 Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP3 rust1.65ppc64le Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP3 rust1.65s390x Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP3 rust1.65x86_64 Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP4 cargo1.65aarch64 Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP4 cargo1.65ppc64le Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP4 cargo1.65s390x Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP4 cargo1.65x86_64 Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP4 cargo1.66aarch64 Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE SLE-15-SP4 cargo1.66ppc64le Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE SLE-15-SP4 cargo1.66s390x Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE SLE-15-SP4 cargo1.66x86_64 Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE SLE-15-SP4 rust1.65aarch64 Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP4 rust1.65ppc64le Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP4 rust1.65s390x Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP4 rust1.65x86_64 Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE SLE-15-SP4 rust1.66aarch64 Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE SLE-15-SP4 rust1.66ppc64le Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE SLE-15-SP4 rust1.66s390x Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE SLE-15-SP4 rust1.66x86_64 Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE openSUSE-Leap-15.4 cargo1.65aarch64 Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE openSUSE-Leap-15.4 cargo1.65ppc64le Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE openSUSE-Leap-15.4 cargo1.65s390x Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE openSUSE-Leap-15.4 cargo1.65x86_64 Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE openSUSE-Leap-15.4 cargo1.66aarch64 Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE openSUSE-Leap-15.4 cargo1.66ppc64le Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE openSUSE-Leap-15.4 cargo1.66s390x Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE openSUSE-Leap-15.4 cargo1.66x86_64 Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE openSUSE-Leap-15.4 rust1.65aarch64 Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE openSUSE-Leap-15.4 rust1.65ppc64le Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE openSUSE-Leap-15.4 rust1.65s390x Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE openSUSE-Leap-15.4 rust1.65x86_64 Advisory build 1.65.0-150300.7.9.1 SUSE-SU-2023:0133-1
SUSE / openSUSE openSUSE-Leap-15.4 rust1.66aarch64 Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE openSUSE-Leap-15.4 rust1.66ppc64le Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE openSUSE-Leap-15.4 rust1.66s390x Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE openSUSE-Leap-15.4 rust1.66x86_64 Advisory build 1.66.0-150400.9.9.1 SUSE-SU-2023:0132-1
SUSE / openSUSE openSUSE-Tumbleweed cargo1.65aarch64 Advisory build 1.65.0-4.1 OPENSUSE-SU-2024:12607-1
SUSE / openSUSE openSUSE-Tumbleweed cargo1.65ppc64le Advisory build 1.65.0-4.1 OPENSUSE-SU-2024:12607-1
SUSE / openSUSE openSUSE-Tumbleweed cargo1.65s390x Advisory build 1.65.0-4.1 OPENSUSE-SU-2024:12607-1
SUSE / openSUSE openSUSE-Tumbleweed cargo1.65x86_64 Advisory build 1.65.0-4.1 OPENSUSE-SU-2024:12607-1
SUSE / openSUSE openSUSE-Tumbleweed cargo1.66aarch64 Advisory build 1.66.0-2.1 OPENSUSE-SU-2024:12608-1
SUSE / openSUSE openSUSE-Tumbleweed cargo1.66ppc64le Advisory build 1.66.0-2.1 OPENSUSE-SU-2024:12608-1
SUSE / openSUSE openSUSE-Tumbleweed cargo1.66s390x Advisory build 1.66.0-2.1 OPENSUSE-SU-2024:12608-1
SUSE / openSUSE openSUSE-Tumbleweed cargo1.66x86_64 Advisory build 1.66.0-2.1 OPENSUSE-SU-2024:12608-1
SUSE / openSUSE openSUSE-Tumbleweed rust1.65aarch64 Advisory build 1.65.0-4.1 OPENSUSE-SU-2024:12607-1
SUSE / openSUSE openSUSE-Tumbleweed rust1.65ppc64le Advisory build 1.65.0-4.1 OPENSUSE-SU-2024:12607-1
SUSE / openSUSE openSUSE-Tumbleweed rust1.65s390x Advisory build 1.65.0-4.1 OPENSUSE-SU-2024:12607-1
SUSE / openSUSE openSUSE-Tumbleweed rust1.65x86_64 Advisory build 1.65.0-4.1 OPENSUSE-SU-2024:12607-1
SUSE / openSUSE openSUSE-Tumbleweed rust1.66aarch64 Advisory build 1.66.0-2.1 OPENSUSE-SU-2024:12608-1
SUSE / openSUSE openSUSE-Tumbleweed rust1.66ppc64le Advisory build 1.66.0-2.1 OPENSUSE-SU-2024:12608-1
SUSE / openSUSE openSUSE-Tumbleweed rust1.66s390x Advisory build 1.66.0-2.1 OPENSUSE-SU-2024:12608-1
SUSE / openSUSE openSUSE-Tumbleweed rust1.66x86_64 Advisory build 1.66.0-2.1 OPENSUSE-SU-2024:12608-1
Amazon Linux AL2023 rustnoarch Listed in advisory Not stated ALAS2023-2023-109
Amazon Linux AL2023 rustsrc Listed in advisory Not stated ALAS2023-2023-109
Amazon Linux AL2023 rustx86_64 Listed in advisory Not stated ALAS2023-2023-109

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

17

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.3 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
rust-lang cargo <= 0.67.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-347 CWE-347: Improper Verification of Cryptographic Signature (GitHub_M · cna)

References

4

Provider assertions

3

GitHub_M · cna

Cargo did not verify SSH host keys

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
f5a357a243598f2f41f2cd3688b568d2b466962a2544b9f442322bbb3a4dcc87
Ingested
23 Sep 2026, 08:03:28 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected