Memory Corruption Affecting lever package, versions <0.1.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.48% (65th 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 Memory Corruption vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-LEVER-1316320
  • published9 Jul 2021
  • disclosed10 Nov 2020
  • creditUnknown

Introduced: 10 Nov 2020

CVE-2020-36457  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade lever to version 0.1.1 or higher.

Overview

lever is a Pillars for Transactional Systems and Data Grids.

Affected versions of this package are vulnerable to Memory Corruption. AtomicBox<T> is a Box type designed to be used across threads, however, it implements the Send and Sync traits for all types T. This allows non-Send types such as Rc and non-Sync types such as Cell to be used across thread boundaries which can trigger undefined behavior and memory corruption.

References

CVSS Base Scores

version 3.1