heapless
Affected
- introduced
0.0.0-0, fixed0.6.1(semver)
Fixed versions
0.6.1
Fix
- Fixed version
0.6.1cargo update -p heapless --precise 0.6.1
Advisory
Also known as: CVE-2020-36464, GHSA-qgwf-r2jj-2ccv
Use-after-free when cloning a partially consumed Vec iterator
The IntoIter Clone implementation clones the whole underlying Vec.
If the iterator is partially consumed the consumed items will be copied, thus creating a use-after-free access.
A proof of concept is available in the original bug report.
High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
0.0.0-0, fixed 0.6.1 (semver)0.6.1
0.6.1cargo update -p heapless --precise 0.6.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0