← Back to CVEs
CVE-2022-40138
CRITICAL9.8
Description
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published10/11/2022
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
facebook:hermes
Weaknesses (CWE)
CWE-681CWE-681
References
https://github.com/facebook/hermes/commit/6aa825e480d48127b480b08d13adf70033237097(cve-assign@fb.com)
https://www.facebook.com/security/advisories/CVE-2022-40138(cve-assign@fb.com)
https://github.com/facebook/hermes/commit/6aa825e480d48127b480b08d13adf70033237097(af854a3a-2127-422b-91ae-364da2661108)
https://www.facebook.com/security/advisories/CVE-2022-40138(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.