{"id":"CVE-2020-36464","published":"2021-08-08T05:12:46Z","modified":"2024-08-04T17:30:08Z","title":"An issue was discovered in the heapless crate before 0.6.1 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01233,"percentile":0.69717,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0145.html","tags":["x_refsource_MISC"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/heapless/RUSTSEC-2020-0145.md","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":13.94}]},"affected":[{"ecosystem":"crates.io","package":"heapless","vulnerableRanges":["<0.6.1",">=0.0.0-0, <0.6.1"],"patched":["0.6.1"],"from":["GHSA-qgwf-r2jj-2ccv","RUSTSEC-2020-0145"],"provenance":"source"}],"summary":{"text":"The heapless crate for Rust, in versions before 0.6.1, has a flaw in the IntoIter Clone implementation. That implementation clones the entire underlying Vec without accounting for elements that have already been consumed by iteration. The flaw's effect is limited to cloning a larger buffer than the iterator's remaining contents require.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:57Z"},"euvd":{"id":"EUVD-2021-1844","exploited":false,"provenance":"source"}}