vendor:
Chromium
by:
Project Zero
8,8
CVSS
HIGH
Arrow Function Context Scope Vulnerability
20
CWE
Product Name: Chromium
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2018
Arrow Function Context Scope Vulnerability
When a super expression is used in an arrow function, the following code, which generates bytecode, is called. The |emitPutToScope| is directly called without resolving the scope. This means the scope |m_arrowFunctionContextLexicalEnvironmentRegister| must have a place for |derivedConstructorPrivateName|. And that place is secured in the following method.
Mitigation:
Ensure that the scope |m_arrowFunctionContextLexicalEnvironmentRegister| is properly resolved before calling |emitPutToScope|.