Skip to content
OpenAdvisories
High · 7.5 CVE-2020-36464 EUVD-2021-1844GHSA-qgwf-r2jj-2ccvRUSTSEC-2020-0145

Use after free in heapless

Published Aug 8, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

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

EcosystemPackageAffectedFixedRecord
crates.io heapless < 0.6.1 0.6.1 GHSA-qgwf-r2jj-2ccv
crates.io heapless >= 0.0.0-0, < 0.6.1 0.6.1 RUSTSEC-2020-0145

References