p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de rustc

Vulnérabilités publiées pour rustc au cours des 30 derniers jours : 0. Présentes dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 24

  1. CVE-2026-5223

    Moyenne · CVSS 6.5EPSS 0,29%Correctif disponible

    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.

    • Mettez à jour vers 1.95.0+dfsg1-2
    Publication Mise à jour
  2. CVE-2026-5222

    Faible · CVSS 2.3EPSS 0,48%Correctif disponible

    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.

    • Mettez à jour vers 1.95.0+dfsg1-2
    Publication Mise à jour
  3. CVE-2026-33056

    Moyenne · CVSS 5.1EPSS 0,39%Correctif disponible

    tar-rs: unpack_in can chmod arbitrary directories by following symlinks

    tar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and below, when unpacking a tar archive, the tar crate's unpack_dir function uses fs::metadata() to check whether a path that already exists is a directory. Because fs::metadata() follows symbolic links, a crafted tarball containing a symlink entry followed by a directory entry with the same name causes the crate to treat the symlink target as a valid existing directory — and subsequently apply chmod to it. This allows an attacker to modify the permissions of arbitrary directories outside the extraction root. This issue has been fixed in version 0.4.45.

    • Mettez à jour vers 1.92.0+dfsg1-2
    Publication Mise à jour
  4. CVE-2026-33055

    Moyenne · CVSS 5.1EPSS 0,41%Correctif disponible

    tar-rs incorrectly ignores PAX size headers if header size is nonzero

    tar-rs is a tar archive reading/writing library for Rust. Versions 0.4.44 and below have conditional logic that skips the PAX size header in cases where the base header size is nonzero. As part of CVE-2025-62518, the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. This is almost the inverse of the astral-tokio-tar issue. Any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust tar) crate is an outlier in checking for the header size - other tar p

    • Mettez à jour vers 1.92.0+dfsg1-2
    Publication Mise à jour
  5. CVE-2025-11233

    Moyenne · CVSS 6.3EPSS 0,52%Correctif disponible

    Rust standard library didn't detect all path separators on Cygwin

    Starting from Rust 1.87.0 and before Rust 1.89.0, the tier 3 Cygwin target (`x86_64-pc-cygwin`) didn't correctly handle path separators, causing the standard library's Path API to ignore path components separated by backslashes. Due to this, programs compiled for Cygwin that validate paths could misbehave, potentially allowing path traversal attacks or malicious filesystem operations. Rust 1.89.0 fixes the issue by handling both Win32 and Unix style paths in the standard library for the Cygwin target. While we assess the severity of this vulnerability as "medium", please note that the tier 3 Cygwin compilation target is only available

    • Mettez à jour vers 1.89.0+dfsg1-1
    Publication Mise à jour
  6. CVE-2022-21658

    Élevée · CVSS 7.3EPSS 1,38%Correctif disponible

    Race condition in std::fs::remove_dir_all in rustlang

    Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. The Rust Security Response WG was notified that the `std::fs::remove_dir_all` standard library function is vulnerable a race condition enabling symlink following (CWE-363). An attacker could use this security issue to trick a privileged program into deleting files and directories the attacker couldn't otherwise access or delete. Rust 1.0.0 through Rust 1.58.0 is affected by this vulnerability with 1.58.1 containing a patch. Note that the following build targets don't have usable APIs to properly mitigate the attack,

    • Mettez à jour vers 1.57.0+dfsg1-1
    Publication Mise à jour
  7. CVE-2021-42574

    Élevée · CVSS 8.3EPSS 12,88%Correctif disponible

    CVE-2021-42574

    An issue was discovered in the Bidirectional Algorithm in the Unicode Specification through 14.0. It permits the visual reordering of characters via control sequences, which can be used to craft source code that renders different logic than the logical ordering of tokens ingested by compilers and interpreters. Adversaries can leverage this to encode source code for compilers accepting Unicode such that targeted vulnerabilities are introduced invisibly to human reviewers. NOTE: the Unicode Consortium offers the following alternative approach to presenting this concern. An issue is noted in the nature of international text that can affect appli

    • Mettez à jour vers 1.57.0+dfsg1-1
    Publication Mise à jour
  8. CVE-2021-29922

    Critique · CVSS 9.1EPSS 2,62%Correctif disponible

    CVE-2021-29922

    library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginning of an IP address string, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation.

    • Mettez à jour vers 1.53.0+dfsg1-1
    Publication Mise à jour
  9. CVE-2015-20001

    Élevée · CVSS 7.5EPSS 1,32%Correctif disponible

    CVE-2015-20001

    In the standard library in Rust before 1.2.0, BinaryHeap is not panic-safe. The binary heap is left in an inconsistent state when the comparison of generic elements inside sift_up or sift_down_range panics. This bug leads to a drop of zeroed memory as an arbitrary type, which can result in a memory safety violation.

    • Mettez à jour vers 1.2.0+dfsg1-1
    Publication Mise à jour
  10. CVE-2020-36317

    Élevée · CVSS 7.5EPSS 1,5%Correctif disponible

    CVE-2020-36317

    In the standard library in Rust before 1.49.0, String::retain() function has a panic safety problem. It allows creation of a non-UTF-8 Rust string when the provided closure panics. This bug could result in a memory safety violation when other string APIs assume that UTF-8 encoding is used on the same string.

    • Mettez à jour vers 1.53.0+dfsg1-1
    Publication Mise à jour
  11. CVE-2021-28878

    Élevée · CVSS 7.5EPSS 2%Correctif disponible

    CVE-2021-28878

    In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once for the same index (under certain conditions) when next_back() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.

    • Mettez à jour vers 1.53.0+dfsg1-1
    Publication Mise à jour
  12. CVE-2021-28877

    Élevée · CVSS 7.5EPSS 1,39%Correctif disponible

    CVE-2021-28877

    In the standard library in Rust before 1.51.0, the Zip implementation calls __iterator_get_unchecked() for the same index more than once when nested. This bug can lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.

    • Mettez à jour vers 1.53.0+dfsg1-1
    Publication Mise à jour
  13. CVE-2021-28876

    Moyenne · CVSS 5.3EPSS 1,57%Correctif disponible

    CVE-2021-28876

    In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue. It calls __iterator_get_unchecked() more than once for the same index when the underlying iterator panics (in certain conditions). This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.

    • Mettez à jour vers 1.53.0+dfsg1-1
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →