VULNERABILITY INTELLIGENCE
CVE-2021-24045
CVSS score9.8 CRITICAL
EPSS probability1.25%
CISA KEVNot currently listed
Published2021-12-13
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
A type confusion vulnerability could be triggered when resolving the "typeof" unary operator in Facebook Hermes prior to v0.10.0. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.
Weakness classification
- CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
Primary references
- cve-assign@fb.com — Patch, Third Party Advisory
- cve-assign@fb.com — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Vendor Advisory