What’s Vulnerable › Vulnerabilities

CVE-2024-28123: Wasmi Out-of-bounds Write for host to Wasm calls with more than 128 Parameters

Description

Wasmi is an efficient and lightweight WebAssembly interpreter with a focus on constrained and embedded systems. In the WASMI Interpreter, an Out-of-bounds Buffer Write will arise if the host calls or resumes a Wasm function with more parameters than the default limit (128), as it will surpass the stack value. This doesn’t affect calls from Wasm to Wasm, only from host to Wasm. This vulnerability was patched in version 0.31.1.

Affected products

How to fix

Upgrade to a fixed version: wasmi-labs wasmi 0.31.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-28123 or the next vulnerability affects your stack