GitHub Advisoryadvisory · crates.io

GHSA-3933-wvjf-pcvc Out of bounds access in lucet-runtime-internals

CRITICAL Published 2021-08-25 Modified 2023-06-13 Official page ↗
Aliases
CVE-2020-35859
Ecosystem
crates.io
Packages
lucet-runtime-internals
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-125, CWE-787
Reviewed
2021-08-19

Affected packages

• crates.io lucet-runtime-internals: < 0.4.3 → fixed in 0.4.3 • crates.io lucet-runtime-internals: >= 0.5.0, < 0.5.1 → fixed in 0.5.1

Description

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 guest programs. 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.

Related

Alias · CVE (1)

  • CVE-2020-35859 An issue was discovered in the lucet-runtime-internals crate before 0.5.1 for Rust. vulnerability

Weakness · CWE (2)

  • CWE-125 Out-of-bounds Read weakness
  • CWE-787 Out-of-bounds Write weakness

References