Wasmi is a WebAssembly interpreter focused on constrained and embedded systems. In versions 0.41.0, 0.41.1, 0.42.0 through 0.47.1, 0.50.0 through 0.51.2 and 1.0.0, Wasmi's linear memory implementation leads to a Use After Free vulnerability, triggered by a WebAssembly module under certain memory growth conditions. This issue potentially leads to memory corruption, information disclosure, or code execution.
This issue is fixed in versions 0.41.2, 0.47.1, 0.51.3 and 1.0.1. To workaround this issue, consider limiting the maximum linear memory sizes where feasible.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 4
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Wasmi-Labs Wasmi
cpe:2.3:a:wasmi-labs:wasmi:*:*:*:*:*:rust:*:*
|
0.41.0
|
0.41.2
|
|
Wasmi-Labs Wasmi
cpe:2.3:a:wasmi-labs:wasmi:*:*:*:*:*:rust:*:*
|
0.47.0
|
0.47.1
|
|
Wasmi-Labs Wasmi
cpe:2.3:a:wasmi-labs:wasmi:*:*:*:*:*:rust:*:*
|
0.51.0
|
0.51.3
|
|
Wasmi-Labs Wasmi
cpe:2.3:a:wasmi-labs:wasmi:1.0.0:*:*:*:*:rust:*:*
|
— | — |