Out-of-bounds Read 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

Threat Intelligence

EPSS
0.21% (60th 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 IDSNYK-RUST-SIMPLESLAB-609850
  • published6 Sept 2020
  • disclosed3 Sept 2020
  • creditUnknown

Introduced: 3 Sep 2020

CVE-2020-35892  (opens in a new tab)
CWE-125  (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 Out-of-bounds Read. Slab::index() does not perform the boundary checking, which leads to out-of-bound read access. Slab::remove() copies an element from an invalid address due to off-by-one error, resulting in memory leakage and uninitialized memory drop.

NOTE: This vulnerability has also been identified as: CVE-2020-35893

CVSS Scores

version 3.1