Wasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 panics when the host reads a component model stream as a different Rust item type than it was…
Wasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 panics when the host reads a component model stream as a different Rust item type than it was created with, because the host-to-host read path asserts matching TypeIds instead of returning an error. Guest code can return a host-created StreamReader<U> that the embedder reads as StreamReader<T>, where both types map to the same component model type, crashing the embedding process.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Bytecodealliance
- Product
- wasmtime
- CVSS v3.1
- 4.8 AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H
- Weakness
- CWE-617
- NVD status
- Deferred
Why it ranks 3 (Routine)
- CVSS v3.1 4.8 medium
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.