Memory Exposure Affecting bumpalo package, versions <3.2.1


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.29% (70th 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-BUMPALO-561123
  • published24 Mar 2020
  • disclosed24 Mar 2020
  • creditUnknown

Introduced: 24 Mar 2020

CVE-2020-35861  (opens in a new tab)
CWE-244  (opens in a new tab)

How to fix?

Upgrade bumpalo to version 3.2.1 or higher.

Overview

bumpalo is a bump allocation arena for Rust.

Affected versions of this package are vulnerable to Memory Exposure. old_size number of bytes in the old allocation, are accidentally copied instead of the new_size number of bytes, which could lead to copying bytes into the realoc space from past the chunk that was supposed to be bump allocated out of, i.e. from unknown memory. If an attacker can cause reallocs, and can read the realoced data back, this could allow them to read from other regions of memory that they should not have access to.

CVSS Scores

version 3.1