high7.5
CVE-2020-36464
Use after free in heapless
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | heapless | < 0.6.1 | 0.6.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Heapless Project | Heapless | before 0.6.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/heapless/RUSTSEC-2020-0145.md
- https://rustsec.org/advisories/RUSTSEC-2020-0145.html
- https://github.com/advisories/GHSA-qgwf-r2jj-2ccv
- https://nvd.nist.gov/vuln/detail/CVE-2020-36464
- https://github.com/japaric/heapless/issues/181