wasmtime is vulnerable to Sandbox Escape
99
CVE Score
Critical
Sandbox Escape
On aarch64, Cranelift compiles an out of range br_table index as a conditional branch that can only reach about 1 MiB. A br_table with more than about 256,000 targets makes the jump table larger than that reach, so the branch lands on the wrong instruction. An untrusted module that wasmtime compiles with the default backend can then jump to arbitrary code and escape the sandbox. The fix selects the default target from the jump table itself and rejects a br_table with more than 65,520 targets.
Upgrade the wasmtime library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you compile untrusted WebAssembly on aarch64 with the default Cranelift backend.
0.16.0 - 36.0.18
Fixed in 36.0.1937.0.0 - 48.0.6
Fixed in 48.0.749.0.0 - 49.0.3
Fixed in 49.0.4wasmtime is vulnerable to Sandbox Escape in versions 0.16.0 - 36.0.18, 37.0.0 - 48.0.6 and 49.0.0 - 49.0.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.