CVE-2023-30470: Use After Free
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.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2023-30470?
CVE-2023-30470 is a vulnerability related to a use-after-free issue in the bytecode generation of Hermes when optimizations are enabled.
What is the severity of CVE-2023-30470?
The severity of CVE-2023-30470 is critical with a CVSS score of 9.8.
How can an attacker exploit CVE-2023-30470?
An attacker can exploit CVE-2023-30470 to achieve remote code execution.
Is the vulnerability CVE-2023-30470 exploitable in all cases?
No, the vulnerability is only exploitable in cases where Hermes is used and optimizations are enabled prior to commit da8990f737ebb9d9810633502f65ed462b819c09.
How can I fix the vulnerability CVE-2023-30470?
To fix the vulnerability, update Hermes to a version that includes the commit da8990f737ebb9d9810633502f65ed462b819c09.