Advisory

GHSA-qgwf-r2jj-2ccv

Also known as: CVE-2020-36464, RUSTSEC-2020-0145

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

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:56 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

heapless

crates.io · All systems

Affected

  • introduced 0, fixed 0.6.1 (semver)

Fixed versions

0.6.1

Fix

  • Fixed version 0.6.1
    cargo update -p heapless --precise 0.6.1

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences