Wasmtime 46.0.0 before 48.0.9 Panic via Stream/Future Cancel on Wrong End
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| bytecodealliancewasmtime |
≥ 50.0.0, < 50.0.2→ 50.0.2 |
50.0.2 |
| crates.iowasmtime |
≥ 46.0.0, < 48.0.9→ 48.0.9 ≥ 49.0.0, < 49.0.6→ 49.0.6 ≥ 50.0.0, < 50.0.2→ 50.0.2 |
48.0.9 49.0.6 50.0.2 |
Original description The description as published by the source.
Wasmtime 46.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not verify the end type when cancelling a pending stream or future copy, as it records only that an end is busy. A malicious WebAssembly component can call stream.cancel-write, stream.cancel-read, future.cancel-write or future.cancel-read on the wrong end while a copy is pending, panicking the host via an out-of-bounds type lookup when the host has passed the stream or future between component instances in one store.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- advisory rustsec.org
- package crates.io
- web github.com
- web github.com