Description (CNA)
Wasmtime before 36.0.17, 37.0.0 before 48.0.4, and 49.0.0 before 49.0.2 contains an unbounded memory allocation in the wasmtime-wasi WASIp2 write-zeroes method of SinkOutputStream, the default stream used when stdout/stderr are not configured. A malicious WebAssembly guest can request huge zero-filled writes, exhausting host memory and causing denial of service.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| bytecodealliance / wasmtime | affected 0 before 36.0.17; unaffected 36.0.17; affected 37.0.0 before 48.0.4; unaffected 48.0.4; affected 49.0.0 before 49.0.2; unaffected 49.0.2 |
CWE
CWE-770