OSV-2022-1248 Object-size in wabt::BinaryReaderIR::OnCodeMetadataCount
A crafted WebAssembly binary can cause a crash in the wabt library during code metadata parsing, leading to 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-1248?
OSV-2022-1248 is a denial of service vulnerability in wabt, published on 8 Dec 2022.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54092
Crash type: Object-size
Crash state:
wabt::BinaryReaderIR::OnCodeMetadataCount
wabt::BinaryReader::ReadCodeMetadataSection
wabt::BinaryReader::ReadCustomSection
Which versions are affected by OSV-2022-1248?
1 open source package ship an affected version, including wabt.
| Package | Affected | Fixed in |
|---|---|---|
wabt OSS-Fuzz | All versions | None |
How do I fix OSV-2022-1248?
No fix has been published for OSV-2022-1248 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is OSV-2022-1248 being exploited?
There is no known exploitation of OSV-2022-1248 in the wild and no public exploit code.