Memory Leak Affecting lucet-runtime-internals package, versions <0.5.1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.19% (57th 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 Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-LUCETRUNTIMEINTERNALS-543488
  • published28 Jan 2020
  • disclosed28 Jan 2020
  • creditUnknown

Introduced: 28 Jan 2020

CVE-2020-35859  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade lucet-runtime-internals to version 0.5.1 or higher.

Overview

lucet-runtime-internals is a pure Rust runtime for Lucet WebAssembly toolchain.

Affected versions of this package are vulnerable to Memory Leak. An embedding using affected versions of lucet-runtime configured to use non-default Wasm globals sizes of more than 4KiB, or compiled in debug mode without optimizations, could leak data from the signal handler stack to guestprograms. This can potentially cause data from the embedding host to leak to guest programs or cause corruption of guest program memory. This flaw was resolved by correcting the sigstack allocation logic.

CVSS Scores

version 3.1