VulnerabilityModified
CVE-2020-36318
This bug could result in a use-after-free or double free.
CRITICAL 9.8EPSS 1.68%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.68%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.68% probability · 76th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-415, CWE-416
- Affected
- rust-lang/rust
- Source
- cve@mitre.org
References
- https://github.com/rust-lang/rust/issues/79808Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/rust-lang/rust/pull/79814Patch, Third Party Advisory
- https://github.com/rust-lang/rust/issues/79808Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/rust-lang/rust/pull/79814Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.