CVE-2022-39974 WASM3 Improper Input Validation vulnerability
A segmentation fault in the WASM3 library allows attackers to cause a denial of service via crafted WebAssembly instructions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-39974?
CVE-2022-39974 is a high-severity memory corruption vulnerability in n/a, published on 20 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
WASM3 v0.5.0 was discovered to contain a segmentation fault via the component op_Select_i32_srs in wasm3/source/m3_exec.h.
Weakness: CWE-119
Which versions are affected by CVE-2022-39974?
5 open source packages ship an affected version, including pywasm3 and wasm3. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pywasm3 PyPI | All versions | None |
pywasm3 PyPI | All versions to 0.5.0 | None |
pywasm3 PyPI | All versions to 0.5.0 | None |
wasm3 crates.io | All versions to 0.5.0 | None |
wasm3 crates.io | All versions to 0.5.0 | None |
Products include Wasm3 Project Wasm3.
How do I fix CVE-2022-39974?
No fix has been published for CVE-2022-39974 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-39974 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-39974 exists.
Other vulnerabilities in n/a
- CVE-2024-34249 pywasm3 contains a heap buffer overflow which leads to segmentation fault
- CVE-2024-27528 pywasm3 has an Invalid Memory Read, Leading to DoS and Potential Code Execution
- CVE-2024-27529 wasm3 uncontrolled memory allocation vulnerability
- CVE-2024-27530 pywasm3 contains a Use-After-Free in ForEachModule
- CVE-2022-28990 Buffer overflow in wasm3
Sources
Also known as GHSA-crf8-h2wq-2h9x, PYSEC-2022-43058.