Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. generic-array
  4. ›
  5. CVE-2020-36465

CVE-2020-36465: Use after free in generic-array

August 25, 2021

An issue was discovered in the generic-array crate before 0.13.3 for Rust. It violates soundness by using the arr! macro to extend lifetimes.

References

  • github.com/advisories/GHSA-3358-4f7f-p4j4
  • github.com/fizyk20/generic-array
  • github.com/fizyk20/generic-array/issues/98
  • nvd.nist.gov/vuln/detail/CVE-2020-36465
  • rustsec.org/advisories/RUSTSEC-2020-0146.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36465 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 starting from 0.8.0 before 0.9.1, all versions starting from 0.10.0 before 0.10.1, all versions starting from 0.11.0 before 0.11.2, all versions starting from 0.12.0 before 0.12.4, all versions starting from 0.13.0 before 0.13.3

Fixed versions

  • 0.13.3
  • 0.12.4
  • 0.11.2
  • 0.10.1
  • 0.9.1

Solution

Upgrade to versions 0.10.1, 0.11.2, 0.12.4, 0.13.3, 0.9.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/generic-array/CVE-2020-36465.yml

Spotted a mistake? Edit the file on GitLab.

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

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