CVE-2019-7154
Last modified
CVE-2019-7154 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. The main function in tools/wasm2js.cpp in Binaryen 1.38.22 has a heap-based buffer overflow because Emscripten is misused, triggering an error in cashew::JSPrinter::printAst() in emscripten-optimizer/simple_ast.h. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by wasm2js.. EPSS estimates a 1.12% chance of exploitation in the next 30 days.
Description
The main function in tools/wasm2js.cpp in Binaryen 1.38.22 has a heap-based buffer overflow because Emscripten is misused, triggering an error in cashew::JSPrinter::printAst() in emscripten-optimizer/simple_ast.h. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by wasm2js.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Webassembly | Binaryen | < 65 |
References
- https://github.com/WebAssembly/binaryen/issues/1876Exploit, Patch, Third Party Advisory
- https://github.com/WebAssembly/binaryen/issues/1876Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-7154?
How severe is CVE-2019-7154?
How do I fix CVE-2019-7154?
Are you affected by CVE-2019-7154?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
