p PatchFirst

CVE-2022-46176

CVE-2022-46176 · Cargo did not verify SSH host keys

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

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.

CVSS 5.3 · Mittel · EPSS 0,7% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: system

Betroffene Produkte und Versionen

  • cargo

    Softwareversionen
    • <= 0.67.0: Betroffen

    Keine Korrektur veröffentlicht

  • cargo Debian:12

    Betroffene Versionsbereiche
    • ECOSYSTEM: < 0.66.0+ds1-1

    Auf 0.66.0+ds1-1 aktualisieren

  • rust-cargo Debian:12

    Betroffene Versionsbereiche
    • ECOSYSTEM: < 0.66.0-1

    Auf 0.66.0-1 aktualisieren

  • rust-cargo Debian:13

    Betroffene Versionsbereiche
    • ECOSYSTEM: < 0.66.0-1

    Auf 0.66.0-1 aktualisieren

  • rust-cargo Debian:14

    Betroffene Versionsbereiche
    • ECOSYSTEM: < 0.66.0-1

    Auf 0.66.0-1 aktualisieren

  • cargo Ubuntu:Pro:16.04:LTS

    Softwareversionen
    • 0.8.0-1
    • 0.16.0-0ubuntu1~16.04.1
    • 0.18.0-0ubuntu0.16.04.1
    • 0.22.0-0ubuntu0.16.04.1
    • 0.23.0-0ubuntu0.16.04.1
    • 0.25.0-1ubuntu1~16.04.1
    • 0.26.0-0ubuntu2~16.04.1
    • 0.29.0-1ubuntu1~16.04.1
    • 0.31.0-3ubuntu1~16.04.1
    • 0.32.0-1~exp1ubuntu1~16.04.1
    • 0.33.0-1ubuntu1~16.04.1
    • 0.35.0-0ubuntu1~16.04.1
    • 0.36.0-0ubuntu1~16.04.1
    • 0.37.0-3ubuntu1~16.04.1
    • 0.38.0-0ubuntu1~16.04.1
    • 0.40.0-3ubuntu1~16.04.1
    • 0.42.0-0ubuntu1~16.04.1
    • 0.44.1-0ubuntu1~16.04.1
    • 0.47.0-1~exp1ubuntu1~16.04.1
    • 0.47.0-1~exp1ubuntu1~16.04.1+esm1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • cargo Ubuntu:Pro:18.04:LTS

    Softwareversionen
    • 0.19.0-0ubuntu1
    • 0.22.0-0ubuntu1
    • 0.22.0-0ubuntu2
    • 0.23.0-0ubuntu1
    • 0.24.0-1ubuntu1
    • 0.25.0-1ubuntu1
    • 0.26.0-0ubuntu1
    • 0.26.0-0ubuntu2
    • 0.29.0-1ubuntu1~18.04.1
    • 0.31.0-3ubuntu1~18.04.4
    • 0.32.0-1~exp1ubuntu1~18.04.1
    • 0.33.0-1ubuntu1~18.04.1
    • 0.35.0-0ubuntu1~18.04.1
    • 0.36.0-0ubuntu1~18.04.1
    • 0.37.0-3ubuntu1~18.04.1
    • 0.38.0-0ubuntu1~18.04.1
    • 0.40.0-3ubuntu1~18.04.1
    • 0.42.0-0ubuntu1~18.04.1
    • 0.44.1-0ubuntu1~18.04.1
    • 0.47.0-1~exp1ubuntu1~18.04.1
    • 0.52.0-0ubuntu1~18.04.1
    • 0.54.0-0ubuntu1~18.04.1
    • 0.58.0-0ubuntu1~18.04.1
    • 0.60.0ubuntu1-0ubuntu1~18.04.1
    • 0.62.0ubuntu0libgit2-0ubuntu0.18.04.1
    • 0.66.0+ds0ubuntu0.libgit2-0ubuntu0.18.04
    • 0.66.0+ds0ubuntu0.libgit2-0ubuntu0.18.04.1~esm1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • cargo Ubuntu:20.04:LTS

    Softwareversionen
    • 0.37.0-3ubuntu2
    • 0.38.0-0ubuntu1
    • 0.39.0-0ubuntu1
    • 0.39.0+really0.38.0-0ubuntu1
    • 0.39.0+really0.39.0-0ubuntu1
    • 0.40.0-3ubuntu1
    • 0.40.0-3ubuntu2
    • 0.41.0-0ubuntu1
    • 0.42.0-0ubuntu1
    • 0.44.1-0ubuntu1~20.04.1
    • 0.47.0-1~exp1ubuntu1~20.04.1
    • 0.52.0-0ubuntu1~20.04.1
    • 0.54.0-0ubuntu1~20.04.1
    • 0.58.0-0ubuntu1~20.04.1
    • 0.60.0ubuntu1-0ubuntu1~20.04.1
    • 0.62.0ubuntu0libgit2-0ubuntu0.20.04.1
    • 0.66.0+ds0ubuntu0.libgit2-0ubuntu0.20.04
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.20.04.2

    Auf 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.20.04.2 aktualisieren

  • cargo Ubuntu:22.04:LTS

    Softwareversionen
    • 0.52.0-0ubuntu1
    • 0.53.0-0ubuntu2
    • 0.54.0-0ubuntu1
    • 0.54.0-0ubuntu2
    • 0.57.0+ubuntu-0ubuntu1
    • 0.58.0-0ubuntu1
    • 0.60.0ubuntu1-0ubuntu1~22.04.1
    • 0.62.0ubuntu0libgit2-0ubuntu0.22.04.1
    • 0.66.0+ds0ubuntu0.libgit2-0ubuntu0.22.04
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.22.04.2

    Auf 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.22.04.2 aktualisieren

  • rust-cargo Ubuntu:Pro:22.04:LTS

    Softwareversionen
    • 0.43.1-4
    • 0.57.0-1
    • 0.57.0-1ubuntu0.1~esm1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

Originalquellen

Prüfen Sie Ihren Server →