vendor:
by:
7.5
CVSS
HIGH
Use-After-Free
416
CWE
Product Name:
Affected Version From:
Affected Version To:
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
Use-After-Free in CrossSite Class
The CrossSite class is used for passing JavaScript variables across different contexts. Chakra is trying to wrap every variable being passed from one context to another to prevent unexpected behaviors like Use-After-Free. However, there is a bug in the code that allows fetching the 'opt' function from a different context without it being wrapped, leading to Use-After-Free vulnerability.
Mitigation:
The bug can be mitigated by fixing the code that wraps objects being passed between contexts to prevent direct access to closed contexts.