← Back to CVEs
CVE-2023-30470
CRITICAL9.8
Description
A use-after-free related to unsound inference in the bytecode generation when optimizations are enabled for Hermes prior to commit da8990f737ebb9d9810633502f65ed462b819c09 could have been used by an attacker to achieve remote code execution. 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
Published5/18/2023
Last Modified1/21/2025
Sourcenvd
Honeypot Sightings0
Affected Products
facebook:hermes
Weaknesses (CWE)
CWE-416CWE-416
References
https://github.com/facebook/hermes/commit/da8990f737ebb9d9810633502f65ed462b819c09(cve-assign@fb.com)
https://www.facebook.com/security/advisories/cve-2023-30470(cve-assign@fb.com)
https://github.com/facebook/hermes/commit/da8990f737ebb9d9810633502f65ed462b819c09(af854a3a-2127-422b-91ae-364da2661108)
https://www.facebook.com/security/advisories/cve-2023-30470(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.