vendor:
V8 JavaScript Engine
by:
Unknown
7.5
CVSS
HIGH
Incorrect State
825
CWE
Product Name: V8 JavaScript Engine
Affected Version From: Unknown
Affected Version To: Unknown
Patch Exists: NO
Related CWE: Not available
CPE: Not available
Platforms Tested: Unknown
2020
Incorrect State in Async Generator
The code snippet provided demonstrates an exploit in the AsyncGeneratorReturn function in the V8 JavaScript engine. By manipulating the 'then' getter of the AwaitedPromise object, an attacker can overwrite the AwaitedPromise immediately after the call to Await, leading to an incorrect state in the generator.
Mitigation:
To mitigate this vulnerability, it is recommended to update the V8 JavaScript engine to a version that includes a patch for this issue.