Wasmtime from 50.0.0 before 50.0.2 Host Process Abort Without gc Feature
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| bytecodealliancewasmtime |
≥ 47.0.0, < 48.0.9→ 48.0.9 |
48.0.9 |
| crates.iowasmtime |
≥ 47.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 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2, when built without the gc Cargo feature, calls a panicking stub builtin from compiled code when checking a function subtype at runtime, and the panic cannot unwind. A malicious guest module can declare a non-final function type and perform call_indirect, ref.test, ref.cast, or br_on_cast against it to abort the host process.
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