Use After Free in Heapless Project
CVE-2020-36464
An issue was discovered in the heapless crate before 0.6.1 for Rust. The IntoIter Clone implementation clones an entire underlying Vec without considering whether it has already been partially consumed.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.012, 69.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- rustsec.org/advisories/RUSTSEC-2020-0145.html (Exploit, Patch, Third Party Advisory, Issue Tracking)
- raw.githubusercontent.com/rustsec/advisory-db/main/crates/heapless/RUSTSEC-2020… (Third Party Advisory)