{"id":"GHSA-qgwf-r2jj-2ccv","summary":"Use after free in heapless","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":["CVE-2020-36464","RUSTSEC-2020-0145"],"modified":"2023-11-08T04:03:46.441950Z","published":"2021-08-25T20:56:09Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-08-18T21:16:38Z","nvd_published_at":"2021-08-08T06:15:00Z","cwe_ids":["CWE-416"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36464"},{"type":"WEB","url":"https://github.com/japaric/heapless/issues/181"},{"type":"PACKAGE","url":"https://github.com/japaric/heapless"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0145.html"}],"affected":[{"package":{"name":"heapless","ecosystem":"crates.io","purl":"pkg:cargo/heapless"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-qgwf-r2jj-2ccv/GHSA-qgwf-r2jj-2ccv.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"}]}