Vulnerability · Published Mar 8, 2024 · Assigned by GitHub_M
CVE-2024-28123Wasmi Out-of-bounds Write for host to Wasm calls with more than 128 Parameters
High 7.3
In plain English
A high-severity out-of-bounds write in wasmi from wasmi-labs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| wasmi-labs | wasmi | >= 0.15.0, <= 0.31.0 |
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://github.com/wasmi-labs/wasmi/security/advisories/GHSA-75jp-vq8x-h4cq x_refsource_CONFIRM
- https://github.com/wasmi-labs/wasmi/commit/f7b3200e9f3dc9e2cbca966cb255c228453c792f x_refsource_MISC
- https://github.com/wasmi-labs/wasmi/releases/tag/v0.31.1 x_refsource_MISC