Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. lucet-runtime-internals
  4. ›
  5. CVE-2020-35859

CVE-2020-35859: Out of bounds access in lucet-runtime-internals

August 25, 2021 (updated June 13, 2023)

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.

References

  • github.com/advisories/GHSA-3933-wvjf-pcvc
  • github.com/bytecodealliance/lucet/pull/401
  • github.com/fastly/lucet
  • nvd.nist.gov/vuln/detail/CVE-2020-35859
  • rustsec.org/advisories/RUSTSEC-2020-0004.html

Code Behaviors & Features

Detect and mitigate CVE-2020-35859 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.4.3, all versions starting from 0.5.0 before 0.5.1

Fixed versions

  • 0.4.3
  • 0.5.1

Solution

Upgrade to versions 0.4.3, 0.5.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Learn more about CVSS

Weakness

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

Source file

cargo/lucet-runtime-internals/CVE-2020-35859.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:39 +0000.