Memory Leak Affecting simple-slab package, versions <0.3.3


Severity

Recommended
0.0
medium
0
10

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

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 Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-SIMPLESLAB-609851
  • published6 Sept 2020
  • disclosed4 Sept 2020
  • creditUnknown

Introduced: 4 Sep 2020

CVE NOT AVAILABLE CWE-401  (opens in a new tab)

How to fix?

Upgrade simple-slab to version 0.3.3 or higher.

Overview

simple-slab is a fast and lightweight Slab Allocator.

Affected versions of this package are vulnerable to Memory Leak. Slab::remove() copies an element from an invalid address due to off-by-one error, resulting in uninitialized memory drop.

CVSS Scores

version 3.1