Lucene search

K

Rust Security Vulnerabilities

cve
cve

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

7.5CVSS

7.6AI Score

0.001EPSS

2021-04-11 08:15 PM
174
4
cve
cve

CVE-2017-20004

In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions.

5.9CVSS

5.8AI Score

0.001EPSS

2021-04-14 07:15 AM
49
2
cve
cve

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 as a different user. This attack appear to be exploitable via using the --plugin flag without the --plug...

7.8CVSS

7.7AI Score

0.001EPSS

2018-07-09 08:29 PM
130
cve
cve

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 std::collections::vec_deque::VecDeque::reserve() function that can result in Arbitrary code execution, but no...

7.8CVSS

7.7AI Score

0.001EPSS

2018-08-20 07:31 PM
34
cve
cve

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 library that can result in buffer overflow. This attack appear to be exploitable via str::repeat, passe...

9.8CVSS

9.5AI Score

0.004EPSS

2018-10-08 03:29 PM
35
cve
cve

CVE-2018-25008

In the standard library in Rust before 1.29.0, there is weak synchronization in the Arc::get_mut method. This synchronization issue can be lead to memory safety issues through race conditions.

5.9CVSS

5.8AI Score

0.001EPSS

2021-04-14 07:15 AM
56
2
cve
cve

CVE-2019-1010299

The Rust Programming Language Standard Library 1.18.0 and later is affected by: CWE-200: Information Exposure. The impact is: Contents of uninitialized memory could be printed to string or to log file. The component is: Debug trait implementation for std::collections::vec_deque::Iter. The attack ve...

5.3CVSS

5.2AI Score

0.001EPSS

2019-07-15 06:15 PM
31
cve
cve

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. If the Error::type_id method is overridden then any type can be safely cast to any other type, causing memory safety...

8.1CVSS

8.3AI Score

0.003EPSS

2019-05-13 08:29 PM
151
cve
cve

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

7.5CVSS

7.4AI Score

0.002EPSS

2019-09-30 10:15 PM
122
cve
cve

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

7.5CVSS

7.8AI Score

0.002EPSS

2021-04-11 08:15 PM
68
6
cve
cve

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. This bug could result in a use-after-free or double free.

9.8CVSS

9.2AI Score

0.003EPSS

2021-04-11 08:15 PM
82
5
cve
cve

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 changes after its length is checked.

8.2CVSS

8.7AI Score

0.005EPSS

2021-04-14 07:15 AM
97
11
cve
cve

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. This bug could lead to a buffer overflow.

7.5CVSS

8.4AI Score

0.002EPSS

2021-04-11 08:15 PM
79
8
cve
cve

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

5.3CVSS

7AI Score

0.003EPSS

2021-04-11 08:15 PM
97
9
cve
cve

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.

7.5CVSS

8.4AI Score

0.001EPSS

2021-04-11 08:15 PM
71
7
cve
cve

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

7.5CVSS

8.4AI Score

0.008EPSS

2021-04-11 08:15 PM
92
8
cve
cve

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. This bug can lead to a buffer overflow when a consumed Zip iterator is used again.

9.8CVSS

9.4AI Score

0.01EPSS

2021-04-11 08:15 PM
93
7
cve
cve

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.

9.1CVSS

9AI Score

0.005EPSS

2021-08-07 05:15 PM
113
11
cve
cve

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.

9.8CVSS

9.2AI Score

0.017EPSS

2021-04-14 07:15 AM
91
11
cve
cve

CVE-2022-21658

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

7.3CVSS

6.5AI Score

0.001EPSS

2022-01-20 06:15 PM
168
3
cve
cve

CVE-2023-40030

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

6.1CVSS

7AI Score

0.003EPSS

2023-08-24 11:15 PM
34
cve
cve

CVE-2024-24576

Rust is a programming language. The Rust Security Response WG was notified that the Rust standard library prior to version 1.77.2 did not properly escape arguments when invoking batch files (with the bat and cmd extensions) on Windows using the Command. An attacker able to control the arguments pas...

10CVSS

9.6AI Score

0.0005EPSS

2024-04-09 06:15 PM
69
cve
cve

CVE-2024-43402

Rust is a programming language. The fix for CVE-2024-24576, where std::process::Command incorrectly escaped arguments when invoking batch files on Windows, was incomplete. Prior to Rust version 1.81.0, it was possible to bypass the fix when the batch file name had trailing whitespace or periods (wh...

8.1CVSS

7.4AI Score

0.0005EPSS

2024-09-04 04:15 PM
29