OSV-2022-588 Heap-use-after-free in wasmtime_runtime::externref::gc::hcbc8e23ae41614fa
A heap-use-after-free vulnerability in the Wasmtime runtime allows attackers to potentially execute arbitrary code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2022-588?
OSV-2022-588 is an use after free vulnerability in wasmtime, published on 19 Jul 2022.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49171
Crash type: Heap-use-after-free WRITE 8
Crash state:
wasmtime_runtime::externref::gc::hcbc8e23ae41614fa
wasmtime_fuzzing::oracles::table_ops::_$u7b$$u7b$closure$u7d$$u7d$::hd207e5ffb69
wasmtime::func::Func::invoke::ha3b06e1b5875adc9
Which versions are affected by OSV-2022-588?
1 open source package ship an affected version, including wasmtime.
| Package | Affected | Fixed in |
|---|---|---|
wasmtime OSS-Fuzz | All versions | None |
How do I fix OSV-2022-588?
No fix has been published for OSV-2022-588 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2022-588 being exploited?
There is no known exploitation of OSV-2022-588 in the wild and no public exploit code.