Advisory

GHSA-3933-wvjf-pcvc

Also known as: CVE-2020-35859, RUSTSEC-2020-0004

Summary

Out of bounds access in lucet-runtime-internals

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-08-25 20:46 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

lucet-runtime-internals

crates.io · All systems

Affected

  • introduced 0, fixed 0.4.3 (semver)

Fixed versions

0.4.3

Fix

  • Fixed version 0.4.3
    cargo update -p lucet-runtime-internals --precise 0.4.3

lucet-runtime-internals

crates.io · All systems

Affected

  • introduced 0.5.0, fixed 0.5.1 (semver)

Fixed versions

0.5.1

Fix

  • Fixed version 0.5.1
    cargo update -p lucet-runtime-internals --precise 0.5.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences