First published: Thu May 18 2023(Updated: )
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.
Credit: cve-assign@fb.com
Affected Software | Affected Version | How to fix |
---|---|---|
Facebook Hermes |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-30470 is a vulnerability related to a use-after-free issue in the bytecode generation of Hermes when optimizations are enabled.
The severity of CVE-2023-30470 is critical with a CVSS score of 9.8.
An attacker can exploit CVE-2023-30470 to achieve remote code execution.
No, the vulnerability is only exploitable in cases where Hermes is used and optimizations are enabled prior to commit da8990f737ebb9d9810633502f65ed462b819c09.
To fix the vulnerability, update Hermes to a version that includes the commit da8990f737ebb9d9810633502f65ed462b819c09.