p PatchFirst

PatchFirst · Latest vulnerabilities

cargo vulnerabilities

Vulnerabilities published for cargo in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 3

  1. CVE-2022-46176

    Medium · CVSS 5.3EPSS 0.68%Fix available

    Cargo did not verify SSH host keys

    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

    • Update to 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.22.04.2
    Published Updated
  2. CVE-2022-36114

    Medium · CVSS 4.8EPSS 0.95%Fix available

    Extracting malicious crates can fill the file system

    Cargo is a package manager for the rust programming language. It was discovered that Cargo did not limit the amount of data extracted from compressed archives. An attacker could upload to an alternate registry a specially crafted package that extracts way more data than its size (also known as a "zip bomb"), exhausting the disk space on the machine using Cargo to download the package. Note that by design Cargo allows code execution at build time, due to build scripts and procedural macros. The vulnerabilities in this advisory allow performing a subset of the possible damage in a harder to track down way. Your dependencies must still be truste

    • Update to 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.22.04.2
    Published Updated
  3. CVE-2022-36113

    Medium · CVSS 4.6EPSS 1.21%Fix available

    Extracting malicious crates can corrupt arbitrary files

    Cargo is a package manager for the rust programming language. After a package is downloaded, Cargo extracts its source code in the ~/.cargo folder on disk, making it available to the Rust projects it builds. To record when an extraction is successful, Cargo writes "ok" to the .cargo-ok file at the root of the extracted source code once it extracted all the files. It was discovered that Cargo allowed packages to contain a .cargo-ok symbolic link, which Cargo would extract. Then, when Cargo attempted to write "ok" into .cargo-ok, it would actually replace the first two bytes of the file the symlink pointed to with ok. This would allow an attack

    • Update to 0.67.1+ds0ubuntu0.libgit2-0ubuntu0.22.04.2
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →