vendor:
V8 JavaScript Engine
by:
Unknown
6.5
CVSS
MEDIUM
Type Confusion
843
CWE
Product Name: V8 JavaScript Engine
Affected Version From: Unknown
Affected Version To: Unknown
Patch Exists: YES
Related CWE: CVE-2020-16040
CPE: a:google:v8:8.7.0
Metasploit:
https://www.rapid7.com/db/vulnerabilities/microsoft-edge-cve-2020-16040/, https://www.rapid7.com/db/vulnerabilities/google-chrome-cve-2020-16040/, https://www.rapid7.com/db/vulnerabilities/debian-cve-2020-16040/, https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2020-16040/, https://www.rapid7.com/db/vulnerabilities/freebsd-cve-2020-16038/, https://www.rapid7.com/db/vulnerabilities/freebsd-cve-2020-16040/, https://www.rapid7.com/db/vulnerabilities/freebsd-cve-2020-16041/, https://www.rapid7.com/db/vulnerabilities/freebsd-cve-2020-16042/, https://www.rapid7.com/db/vulnerabilities/freebsd-cve-2020-16037/, https://www.rapid7.com/db/vulnerabilities/freebsd-cve-2020-16039/, https://www.rapid7.com/db/vulnerabilities/suse-cve-2020-16040/
Platforms Tested:
2020
Type Confusion in NodeProperties::InferReceiverMaps
The vulnerability occurs in the NodeProperties::InferReceiverMaps function in the V8 JavaScript engine. The issue arises when the 'mnewtarget' variable, which is expected to be a constructor, is cast to JSFunction, leading to type confusion. This can potentially be exploited to cause a crash or execute arbitrary code.
Mitigation:
The V8 team has released a patch to fix this vulnerability. It is recommended to update to the latest version of the V8 engine or the software that includes it.