Wasmtime from 50.0.0 before 50.0.2 Process Abort via Unaligned GC Heap Reservation
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 lets a non-movable GC heap or linear memory whose reservation is not a multiple of the host page size grow past the bound assumed by compiled code, and misclassifies the resulting bounds-check fault, aborting the process. A malicious WebAssembly guest can abort the host process by allocating GC objects until the GC heap fills.
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