PT-2020-17646

CVE-2020-36464

·

Published

2020-11-02

·

Updated

2021-08-25

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions heapless crate versions prior to 0.6.1
Description The issue arises from the IntoIter Clone implementation, which clones the entire underlying Vec without considering whether it has already been partially consumed. This can lead to a use-after-free access if the iterator is partially consumed, as the consumed items will be copied. A proof of concept is available, demonstrating the potential for exploitation.
Recommendations For versions prior to 0.6.1, update to version 0.6.1 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the Clone implementation on partially consumed IntoIter instances to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-QGWF-R2JJ-2CCV
RUSTSEC-2020-0145
Found an issue in the description? Have something to add? Feel free to write us 👾