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
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2019-01-29T00:00:00

Updated: 2019-01-28T23:57:01

Reserved: 2019-01-28T00:00:00


Link: CVE-2019-7154

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2019-01-29T00:29:00.627

Modified: 2020-06-08T17:24:06.533


Link: CVE-2019-7154

JSON object: View

cve-icon Redhat Information

No data.

CWE