Skip to content

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

CriticalCVSS 9.8 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io wasmi(crates.io) >= 0.15.0, < 0.31.1; >= 0.15.0, <= 0.31.0 0.31.1 Fixed
wasmi-labs wasmi = >= 0.15.0, <= 0.31.0; >= 0.15.0, < 0.31.1; >= 0.15.0, <= 0.31.0 0.31.1 Fixed

Affected products

ProductAffected versionsFixed in
crates.io wasmi(crates.io) >= 0.15.0, < 0.31.1 0.31.1
crates.io wasmi(crates.io) >= 0.15.0, <= 0.31.0 No fix listed
wasmi-labs wasmi = >= 0.15.0, <= 0.31.0 No fix listed
wasmi-labs wasmi >= 0.15.0, <= 0.31.0 No fix listed
wasmi-labs wasmi >= 0.15.0, < 0.31.1 0.31.1

References