Rust runtime vulnerabilities

Rust is a language runtime (its releases): every project written for it is exposed to its vulnerabilities, whatever packages it uses. Its advisories come from the NVD.

Recent advisories for Rust

  • Critical CVSS 9.8

    CVE-2018-1000810: The Rust Programming Language Standard Library version 1.29.0, 1.28.0, 1.27.2, 1.27.1, 127.0, 126.2, 126.1, 126.0 contains a CWE-680: Integer Overflow to Buffer Overflow vulnerability in standard...

  • Critical CVSS 9.8

    CVE-2020-36318: In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition.

  • Critical CVSS 9.8

    CVE-2021-28879: In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer overflow.

  • Critical CVSS 9.1

    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...

  • Critical CVSS 9.8

    CVE-2021-31162: In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics.

  • Critical CVSS 10.0

    CVE-2024-24576: Rust is a programming language.

  • Critical CVSS 9.8

    CVE-2024-3566: A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function when the specific conditions are satisfied.

  • High CVSS 7.5

    CVE-2015-20001: In the standard library in Rust before 1.2.0, BinaryHeap is not panic-safe.

  • High CVSS 7.8

    CVE-2018-1000622: The Rust Programming Language rustdoc version Between 0.8 and 1.27.0 contains a CWE-427: Uncontrolled Search Path Element vulnerability in rustdoc plugins that can result in local code execution...

  • High CVSS 7.8

    CVE-2018-1000657: Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1.3.0 and later contains a Buffer Overflow vulnerability in...

  • High CVSS 8.1

    CVE-2019-12083: The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's safety guarantees and cause memory unsafety.

  • High CVSS 7.5

    CVE-2019-16760: Cargo prior to Rust 1.26.0 may download the wrong dependency if your package.toml file uses the `package` configuration key.

  • High CVSS 7.5

    CVE-2020-36317: In the standard library in Rust before 1.49.0, String::retain() function has a panic safety problem.

  • High CVSS 8.2

    CVE-2020-36323: In the standard library in Rust before 1.52.0, there is an optimization for joining strings that can cause uninitialized bytes to be exposed (or the program to crash) if the borrowed string...

  • High CVSS 7.5

    CVE-2021-28875: In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe context.

  • High CVSS 7.5

    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.

  • High CVSS 7.5

    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...

  • High CVSS 8.8

    CVE-2024-43402: Rust is a programming language.

  • Medium CVSS 5.9

    CVE-2017-20004: In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object.

  • Medium CVSS 5.9

    CVE-2018-25008: In the standard library in Rust before 1.29.0, there is weak synchronization in the Arc::get_mut method.

  • Medium CVSS 5.3

    CVE-2019-1010299: The Rust Programming Language Standard Library 1.18.0 and later is affected by: CWE-200: Information Exposure.

  • Medium CVSS 5.3

    CVE-2021-28876: In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue.

  • Medium CVSS 6.3

    CVE-2022-21658: Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency.

  • Medium CVSS 6.1

    CVE-2023-40030: Cargo downloads a Rust project’s dependencies and compiles the project.

Check your whole project

Rust is one package among hundreds in a lockfile. Upload your lockfile, or paste a public GitHub repository, and get every vulnerable package with the version that fixes it. Free, and no account needed.

About this data

Vulnerability data: the NVD. Licences: deps.dev. These pages list the versions AIssue checks every day for the projects it monitors, not every version ever released.