Wasmtime 50.0.0 before 50.0.2 Stale GC Heap Base Pointer Denial of Service
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 does not set needs_gc_heap for collector-agnostic GC operations such as ref.test, so compiled code can reuse a stale null GC heap base pointer. A Wasm guest that tests or downcasts GC references returned by an imported host function can trigger loads in low host memory, aborting the host process.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- advisory rustsec.org
- package crates.io
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web github.com
- web github.com