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.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 3
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Bytecodealliance Wasmtime
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*
|
— |
36.0.16
|
|
Bytecodealliance Wasmtime
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*
|
37.0.0
|
48.0.3
|
|
Bytecodealliance Wasmtime
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*
|
49.0.0
|
49.0.1
|