CVE-2022-40138

An integer conversion error in Hermes bytecode generation, prior to commit 6aa825e480d48127b480b08d13adf70033237097, could have been used to perform Out-Of-Bounds operations and subsequently execute arbitrary code. Note that this is only exploitable in cases where Hermes is used to execute untrusted JavaScript. Hence, most React Native applications are not affected.
Configurations

Configuration 1 (hide)

cpe:2.3:a:facebook:hermes:*:*:*:*:*:*:*:*

History

11 Oct 2022, 19:10

Type Values Removed Values Added
CPE cpe:2.3:a:facebook:hermes:*:*:*:*:*:*:*:*
CWE CWE-681
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
First Time Facebook hermes
Facebook
References (CONFIRM) https://www.facebook.com/security/advisories/CVE-2022-40138 - (CONFIRM) https://www.facebook.com/security/advisories/CVE-2022-40138 - Vendor Advisory
References (CONFIRM) https://github.com/facebook/hermes/commit/6aa825e480d48127b480b08d13adf70033237097 - (CONFIRM) https://github.com/facebook/hermes/commit/6aa825e480d48127b480b08d13adf70033237097 - Patch, Third Party Advisory

11 Oct 2022, 02:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-10-11 02:15

Updated : 2023-12-10 14:35


NVD link : CVE-2022-40138

Mitre link : CVE-2022-40138

CVE.ORG link : CVE-2022-40138


JSON object : View

Products Affected

facebook

  • hermes
CWE
CWE-681

Incorrect Conversion between Numeric Types