Loading...
Skip to main content

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

CRITICAL

Out of bounds access in lucet-runtime-internals

Published August 25, 2021Updated November 8, 2023Source: osv

Summary

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.

Advisory Timeline

  • First published August 25, 2021 (1874 days ago).
  • Last revised November 8, 2023 — 804 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update lucet-runtime-internals to 0.4.3 or later
cargo update -p lucet-runtime-internals --precise 0.4.3
Cargo
Update lucet-runtime-internals to 0.5.1 or later
cargo update -p lucet-runtime-internals --precise 0.5.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: crates.io (1).

PackageEcosystemAffectedFixed In
lucet-runtime-internals
crates.io
All versions0.4.3
lucet-runtime-internals
crates.io
All versions0.5.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-125
    Out-of-bounds ReadMITRE
  • CWE-787
    Out-of-bounds WriteMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

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

Frequently Asked Questions

What is CVE-2020-35859?
Out of bounds access in lucet-runtime-internals This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2020-35859?
CVE-2020-35859 affects lucet-runtime-internals. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-35859 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-3933-wvjf-pcvc
RUSTSEC-2020-0004

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies