Files
advisory-db/crates/lucet-runtime-internals/RUSTSEC-2020-0004.md
Tony Arcieri ac125ee29a Translate database into V3 advisory format (#420)
As proposed in #240 and tracked in #414, this PR translates all
advisories into the new "V3" advisory format, which is based on Markdown
with leading TOML front matter.

This format makes it easier to see rendered Markdown syntax
descriptions, whether rendered by an IDE or GitHub. This should help
with both crafting advisories initially as well as review, and ideally
encourages more lengthy descriptions.

Support for this format shipped in `cargo-audit` v0.12.0 on
May 6th, 2020.
2020-10-01 18:29:11 -07:00

769 B

[advisory]
id = "RUSTSEC-2020-0004"
package = "lucet-runtime-internals"
categories = ["memory-corruption", "memory-exposure"]
date = "2020-01-24"
url = "https://github.com/bytecodealliance/lucet/pull/401"

[versions]
patched = ["< 0.5.0, >= 0.4.3", ">= 0.5.1"]

sigstack allocation bug can cause memory corruption or leak

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.