{
  "cveId": "CVE-2022-46176",
  "url": "https://patchblox.com/security/cve/CVE-2022-46176",
  "summary": "CVE-2022-46176 is fixed in 21 products on 1 platform, first by cargo 0.67.1\u002Bds0ubuntu0.libgit2-0ubuntu0.20.04.2, released January 11, 2023. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "cargo: Cargo is a Rust package manager",
  "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\u0027t 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\u0027s [\u0060url.\u003Cbase\u003E.insteadOf\u0060][1] setting), as that\u0027d 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\u0027s public key is not already trusted. We recommend everyone to upgrade as soon as possible.",
  "published": "2023-01-11T13:15:00Z",
  "severity": "medium",
  "cvss": 5.9,
  "cvssVector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
  "epss": 0.00679,
  "epssPercentile": 0.52592,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "cargo",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "0.66.0\u002Bds1-1",
      "fix": "DEBIAN-CVE-2022-46176",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-46176",
      "released": "2023-01-11T21:15:10Z"
    },
    {
      "platform": "linux",
      "product": "cargo",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0.67.1\u002Bds0ubuntu0.libgit2-0ubuntu0.20.04.2",
      "fix": "cargo 0.67.1\u002Bds0ubuntu0.libgit2-0ubuntu0.20.04.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-cargo-0.67.1-ds0ubuntu0.libgit2-0ubuntu0.20.04.2",
      "released": "2023-01-11T13:15:00Z"
    },
    {
      "platform": "linux",
      "product": "cargo",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "0.67.1\u002Bds0ubuntu0.libgit2-0ubuntu0.22.04.2",
      "fix": "cargo 0.67.1\u002Bds0ubuntu0.libgit2-0ubuntu0.22.04.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-cargo-0.67.1-ds0ubuntu0.libgit2-0ubuntu0.22.04.2",
      "released": "2023-01-11T13:15:00Z"
    },
    {
      "platform": "linux",
      "product": "cargo",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "cargo-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "clippy",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "clippy-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-analysis",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-analyzer",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-analyzer-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-cargo",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "0.66.0-1",
      "fix": "DEBIAN-CVE-2022-46176",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-46176",
      "released": "2023-01-11T21:15:10Z"
    },
    {
      "platform": "linux",
      "product": "rust-cargo",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "0.66.0-1",
      "fix": "DEBIAN-CVE-2022-46176",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-46176",
      "released": "2023-01-11T21:15:10Z"
    },
    {
      "platform": "linux",
      "product": "rust-cargo",
      "release": "Debian 14",
      "fixedVersion": "0.66.0-1",
      "fix": "DEBIAN-CVE-2022-46176",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-46176",
      "released": "2023-01-11T21:15:10Z"
    },
    {
      "platform": "linux",
      "product": "rust-debugger-common",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-debugsource",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-doc",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-gdb",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-lldb",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-src",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-std-static",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-std-static-wasm32-unknown-unknown",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rust-std-static-wasm32-wasi",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rustfmt",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    },
    {
      "platform": "linux",
      "product": "rustfmt-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1.66.1-1.amzn2023.0.3",
      "fix": "ALAS2023-2023-109",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-109",
      "released": "2023-02-17T20:48:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}