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.
References
Link | Resource |
---|---|
https://github.com/rust-lang/rust/issues/79808 | Exploit Issue Tracking Patch Third Party Advisory |
https://github.com/rust-lang/rust/pull/79814 | Patch Third Party Advisory |
Configurations
History
23 Apr 2021, 17:43
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 9.8 |
References | (MISC) https://github.com/rust-lang/rust/issues/79808 - Exploit, Issue Tracking, Patch, Third Party Advisory | |
References | (MISC) https://github.com/rust-lang/rust/pull/79814 - Patch, Third Party Advisory | |
CWE | CWE-415 CWE-416 |
|
CPE | cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:* |
11 Apr 2021, 20:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2021-04-11 20:15
Updated : 2023-12-10 13:55
NVD link : CVE-2020-36318
Mitre link : CVE-2020-36318
CVE.ORG link : CVE-2020-36318
JSON object : View
Products Affected
rust-lang
- rust