Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. heapless
  4. ›
  5. CVE-2020-36464

CVE-2020-36464: Use after free in heapless

August 25, 2021

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.

References

  • github.com/advisories/GHSA-qgwf-r2jj-2ccv
  • github.com/japaric/heapless
  • github.com/japaric/heapless/issues/181
  • nvd.nist.gov/vuln/detail/CVE-2020-36464
  • rustsec.org/advisories/RUSTSEC-2020-0145.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36464 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.1

Fixed versions

  • 0.6.1

Solution

Upgrade to version 0.6.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

cargo/heapless/CVE-2020-36464.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:49 +0000.