{"id":"CVE-2020-36464","details":"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.","aliases":["GHSA-qgwf-r2jj-2ccv","RUSTSEC-2020-0145"],"modified":"2026-08-27T08:40:17.803526Z","published":"2021-08-08T06:15:08.080Z","references":[{"type":"ADVISORY","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/heapless/RUSTSEC-2020-0145.md"},{"type":"FIX","url":"https://rustsec.org/advisories/RUSTSEC-2020-0145.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rust-embedded/heapless","events":[{"introduced":"0"},{"fixed":"96f38a6f738d62d59c881eb4e50aa506d9bfdb85"}],"database_specific":{"cpe":"cpe:2.3:a:heapless_project:heapless:*:*:*:*:*:rust:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.6.1"}],"source":"CPE_RANGE"}}],"versions":["v0.6.0","v0.5.6","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.7","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.7","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36464.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}