p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in cargo

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für cargo: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 13

  1. CVE-2026-5223

    Mittel · CVSS 6.5EPSS 0,29%Keine Korrektur veröffentlicht

    Crates in third party registries can override the cached source of other crates

    Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the vulnerability is **medium** for users of third-party registries. Users of crates.io are **not affected**, as crates.io forbids uploading crates containing any symlink.

    Veröffentlicht Aktualisiert
  2. CVE-2026-5222

    Niedrig · CVSS 2.3EPSS 0,48%Keine Korrektur veröffentlicht

    Cargo can be coerced to share credentials between registries

    Cargo between 1.68 and 1.96 incorrectly normalized the URLs of third-party registries using the sparse index protocol. If a hosting provider allowed multiple registries to be hosted with arbitrary names within the same domain, an attacker able to publish crates in a registry could obtain the credentials of others users of the same registry. The severity of the vulnerability is **low**, due to the extremely niche requirements needed to achieve the attack.

    Veröffentlicht Aktualisiert
  3. CVE-2023-40030

    Mittel · CVSS 6.1EPSS 0,9%Keine Korrektur veröffentlicht

    Malicious dependencies can inject arbitrary JavaScript into cargo-generated timing reports

    Cargo downloads a Rust project’s dependencies and compiles the project. Starting in Rust 1.60.0 and prior to 1.72, Cargo did not escape Cargo feature names when including them in the report generated by `cargo build --timings`. A malicious package included as a dependency may inject nearly arbitrary HTML here, potentially leading to cross-site scripting if the report is subsequently uploaded somewhere. The vulnerability affects users relying on dependencies from git, local paths, or alternative registries. Users who solely depend on crates.io are unaffected. Rust 1.60.0 introduced `cargo build --timings`, which produces a report of how long

    Veröffentlicht Aktualisiert
  4. CVE-2023-38497

    Hoch · CVSS 7.8EPSS 0,7%Keine Korrektur veröffentlicht

    Cargo not respecting umask when extracting crate archives

    Cargo downloads the Rust project’s dependencies and compiles the project. Cargo prior to version 0.72.2, bundled with Rust prior to version 1.71.1, did not respect the umask when extracting crate archives on UNIX-like systems. If the user downloaded a crate containing files writeable by any local user, another local user could exploit this to change the source code compiled and executed by the current user. To prevent existing cached extractions from being exploitable, the Cargo binary version 0.72.2 included in Rust 1.71.1 or later will purge caches generated by older Cargo versions automatically. As a workaround, configure one's system to p

    Veröffentlicht Aktualisiert
  5. CVE-2022-46176

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

    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

    • Auf 0.66.0+ds1-1 aktualisieren
    Veröffentlicht Aktualisiert
  6. CVE-2022-36114

    Mittel · CVSS 4.8EPSS 0,95%Korrektur verfügbar

    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

    • Auf 0.63.1-1 aktualisieren
    Veröffentlicht Aktualisiert
  7. CVE-2022-36113

    Mittel · CVSS 4.6EPSS 1,21%Korrektur verfügbar

    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

    • Auf 0.63.1-1 aktualisieren
    Veröffentlicht Aktualisiert
  8. CVE-2019-16760

    Mittel · CVSS 4.6EPSS 1,26%Korrektur verfügbar

    Cargo prior to Rust 1.26.0 may download the wrong dependency

    Cargo prior to Rust 1.26.0 may download the wrong dependency if your package.toml file uses the `package` configuration key. Usage of the `package` key to rename dependencies in `Cargo.toml` is ignored in Rust 1.25.0 and prior. When Rust 1.25.0 and prior is used Cargo may download the wrong dependency, which could be squatted on crates.io to be a malicious package. This not only affects manifests that you write locally yourself, but also manifests published to crates.io. Rust 1.0.0 through Rust 1.25.0 is affected by this advisory because Cargo will ignore the `package` key in manifests. Rust 1.26.0 through Rust 1.30.0 are not affected and typ

    • Auf 0.27.0-1 aktualisieren
    Veröffentlicht Aktualisiert
  9. CVE-2016-10128

    Kritisch · CVSS 9.8EPSS 3,96%Korrektur verfügbar

    CVE-2016-10128

    Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.

    • Auf 0.17.0-1 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →