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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/wasmi-labs/wasmi/security/advisories/GHSA-75jp-vq8x-h4cq vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/wasmi-labs/wasmi/commit/f7b3200e9f3dc9e2cbca966cb255c228453c792f patch
- github.com product
- https://github.com/wasmi-labs/wasmi/releases/tag/v0.31.1 release-notes
- github.com