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 |
Configurations
Information
Published : 2019-01-28 16:29
Updated : 2020-06-08 10:24
NVD link : CVE-2019-7154
Mitre link : CVE-2019-7154
JSON object : View
CWE
CWE-787
Out-of-bounds Write
Products Affected
webassembly
- binaryen