Use After Free Affecting generic-array package, versions >=0.12.0 <0.12.4>=0.13.0 <0.13.3>=0.11.0 <0.11.2>=0.10.0 <0.10.1>=0.9.0 <0.9.1>=0.8.0 <0.8.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-GENERICARRAY-1090608
  • published6 Apr 2021
  • disclosed9 Apr 2020
  • creditUnknown

Introduced: 9 Apr 2020

CVE-2020-36465  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade generic-array to version 0.12.4, 0.13.3, 0.11.2, 0.10.1, 0.9.1, 0.8.4 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. It allowed unsoundly extending lifetimes using arr! macro. This may result in a variety of memory corruption scenarios, most likely use-after-free.

References

CVSS Scores

version 3.1