ADVISORIES

RustSec Advisory Database

RUSTSEC-2020-0004

sigstack allocation bug can cause memory corruption or leak

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.

Affected packages

EcosystemPackageAffected versions
crates.iolucet-runtime-internals
From 0.0.0-0 before 0.4.3 (fixed in 0.4.3)
From 0.5.0 before 0.5.1 (fixed in 0.5.1)

References