Wasmtime: Cranelift backend on aarch64 can jump to incorrect target on large Wasm `br_table` instruction
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in wasmtime 36.0.19, wasmtime 48.0.7 and wasmtime 49.0.4.
Wasmtime is a runtime for WebAssembly. Prior to 36.0.19, 48.0.7, and 49.0.4, the Cranelift compiler backend on aarch64 can compile a Wasm br_table instruction with more than approximately 256,000 targets so that it has an incorrect conditional branch target. The branch can then jump to arbitrary other code at a user-controlled offset, allowing a user-controlled Wasm module to escape the sandbox on aarch64 engines using the default Cranelift backend. This issue is fixed in versions 36.0.19, 48.0.7, and 49.0.4.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| bytecodealliance | <36.0.19, >=37.0.0 <48.0.7, >=49.0.0 <49.0.4 | ||
| cargo: wasmtime | <36.0.19, >=37.0.0 <48.0.7, >=49.0.0 <49.0.4 | 36.0.19, 48.0.7, 49.0.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in wasmtime (Cargo), strongest first
Embed
A live severity badge for an advisory, README or ticket