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.
References
Link | Resource |
---|---|
https://github.com/WebAssembly/binaryen/issues/1876 | Exploit Patch Third Party Advisory |
https://github.com/WebAssembly/binaryen/issues/1876 | Exploit Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 04:47
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/WebAssembly/binaryen/issues/1876 - Exploit, Patch, Third Party Advisory |
Information
Published : 2019-01-29 00:29
Updated : 2024-11-21 04:47
NVD link : CVE-2019-7154
Mitre link : CVE-2019-7154
CVE.ORG link : CVE-2019-7154
JSON object : View
Products Affected
webassembly
- binaryen
CWE
CWE-787
Out-of-bounds Write