Use After Free Affecting internment package, versions <0.3.12


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.87% (83rd 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-INTERNMENT-571684
  • published8 Jun 2020
  • disclosed28 May 2020
  • creditUnknown

Introduced: 28 May 2020

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

How to fix?

Upgrade internment to version 0.3.12 or higher.

Overview

internment is a library for interning strings or other data in rust.

Affected versions of this package are vulnerable to Use After Free. ArcIntern::drop has a race condition where it can release memory which is about to get another user. The new user will get a reference to freed memory.

References

CVSS Scores

version 3.1