Use After Free Affecting array-tools package, versions <0.3.2


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.24% (62nd 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-ARRAYTOOLS-1734711
  • published15 Oct 2021
  • disclosed31 Dec 2020
  • creditUnknown

Introduced: 31 Dec 2020

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

How to fix?

Upgrade array-tools to version 0.3.2 or higher.

Overview

array-tools is a collection of array-related utils aiming to make life easier.

Affected versions of this package are vulnerable to Use After Free. Affected versions of this crate don't guard against panics, so that partially uninitialized buffer is dropped when user-provided T::clone() panics in FixedCapacityDequeLike<T, A>::clone(). This causes memory corruption.

CVSS Scores

version 3.1