Vulnerability · Published May 18, 2023 · Assigned by facebook
CVE-2023-30470
Critical 9.8
In plain English
A critical-severity use-after-free in Hermes from Facebook. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://www.facebook.com/security/advisories/cve-2023-30470 x_refsource_CONFIRM
- https://github.com/facebook/hermes/commit/da8990f737ebb9d9810633502f65ed462b819c09 x_refsource_MISC