CVE-2020-36318

Severity
9.8CRITICAL
EPSS
0.4%
top 42.13%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 11
Latest updateMay 24

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages2 packages

NVDrust-lang/rust1.48.01.49.0
Debianrustc< 1.53.0+dfsg1-1+2

Patches

🔴Vulnerability Details

3
GHSA
GHSA-w7c8-v5h2-32ff: In the standard library in Rust before 12022-05-24
OSV
CVE-2020-36318: In the standard library in Rust before 12021-04-11
CVEList
CVE-2020-36318: In the standard library in Rust before 12021-04-11

📋Vendor Advisories

3
Microsoft
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 double2021-04-13
Red Hat
rust: use-after-free or double free in VecDeque::make_contiguous2020-12-07
Debian
CVE-2020-36318: rustc - In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a b...2020
CVE-2020-36318 (CRITICAL CVSS 9.8) | In the standard library in Rust bef | cvebase.io