{ "schema_version": "1.4.0", "id": "GHSA-qgwf-r2jj-2ccv", "modified": "2021-08-18T21:16:38Z", "published": "2021-08-25T20:56:09Z", "aliases": [ "CVE-2020-36464" ], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "heapless" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "0.6.1" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-416" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2021-08-18T21:16:38Z", "nvd_published_at": "2021-08-08T06:15:00Z" } }