vendor:
N/A
by:
N/A
7.5
CVSS
HIGH
Integer Overflow
190
CWE
Product Name: N/A
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: N/A
2020
Integer Overflow in Computing the Required Allocation Size When Instantiating a New Javascript Object
By supplying a long prototype chain of objects with a large expected_nof_properties, an attacker can control the resulting value of instance_size by causing (requested_embedder_fields + requested_in_object_properties) << kPointerSizeLog2 to be overflown to a small negative value, resulting in an allocation smaller than header size.
Mitigation:
Ensure that the expected_nof_properties value is properly validated and that the resulting instance_size is not negative.