Description (CNA)
wasmtime-wasi-http in Wasmtime before 36.0.16, 37.0.0 before 48.0.3, and 49.0.0 before 49.0.1 does not enforce the wasi:io/streams check-write allowance for WASIp2 outgoing HTTP bodies, so oversized writes succeed instead of trapping. A malicious guest can pass large buffers to write on outgoing-body resources, holding host allocations for the store's lifetime and exhausting host memory.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| bytecodealliance / wasmtime | affected 0 before 36.0.16; unaffected 36.0.16; affected 37.0.0 before 48.0.3; unaffected 48.0.3; affected 49.0.0 before 49.0.1; unaffected 49.0.1 |
CWE
CWE-400