wasmtime is vulnerable to Denial of Service (DoS)
57
CVE Score
Medium
Denial of Service (DoS)
Wasmtime's Cranelift backend fails to reload accumulated fuel after a call_ref call or when control returns along a try_table catch path, dropping fuel usage incurred inside the callee. A guest using fuel metering with the call_ref or try_table opcodes can run for exponential time on linear fuel, defeating timeout and periodic yield enforcement. The fix reloads the fuel counter after call_ref calls and at catch block entry so consumed fuel is always accounted.
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 enable fuel based metering (Config::consume_fuel) for guests using the call_ref or try_table Wasm opcodes.
47.0.0 - 48.0.2
Fixed in 48.0.349.0.0 - 49.0.0
Fixed in 49.0.1wasmtime is vulnerable to Denial of Service (DoS) in versions 47.0.0 - 48.0.2 and 49.0.0 - 49.0.0.
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.