Out of bounds access in lucet-runtime-internals
Critical severity
GitHub Reviewed
Published
Aug 25, 2021
to the GitHub Advisory Database
•
Updated Nov 10, 2023
Package
Affected versions
< 0.4.3
>= 0.5.0, < 0.5.1
Patched versions
0.4.3
0.5.1
Description
Published by the National Vulnerability Database
Dec 31, 2020
Reviewed
Aug 19, 2021
Published to the GitHub Advisory Database
Aug 25, 2021
Last updated
Nov 10, 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