vendor:
Chromium
by:
Project Zero
8,8
CVSS
HIGH
Stack Exhaustion
119
CWE
Product Name: Chromium
Affected Version From: Chromium version 59.0.3071.86
Affected Version To: Chromium version 59.0.3071.86
Patch Exists: Yes
Related CWE: N/A
CPE: a:google:chromium
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Windows, Linux, Mac
2017
Chromium Asm.js Module Reparsing Vulnerability
This vulnerability is related to the Chromium browser. It occurs when the JavascriptFunction::ReparseAsmJsModule() function is used to re-parse an asmjs module. The function resets the function body and then re-parses it, but it does not consider that the functionInfo->Parse(functionRef) may throw an exception. This can be exploited by exhausting the stack and then calling the Module() function with an argument, which will cause an exception to be thrown and the function body to remain reseted.
Mitigation:
The vulnerability can be mitigated by ensuring that the functionInfo->Parse(functionRef) is handled properly and that any exceptions are caught.