Vulnerability Details : CVE-2019-7154
Potential exploit
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.
Vulnerability category: OverflowMemory CorruptionDenial of service
Products affected by CVE-2019-7154
- cpe:2.3:a:webassembly:binaryen:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-7154
0.33%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 52 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-7154
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
NIST |
CWE ids for CVE-2019-7154
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-7154
-
https://github.com/WebAssembly/binaryen/issues/1876
A Heap-buffer-overflow problem was discovered in cashew::JSPrinter::printAst() function in simple_ast.h · Issue #1876 · WebAssembly/binaryen · GitHubExploit;Patch;Third Party Advisory
Jump to