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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Hermes | >= unspecified, < 0.10.0 |
References
- https://github.com/facebook/hermes/commit/55e1b2343f4deb1a1b5726cfe1e23b2068217ff2Patch, Third Party Advisory
- https://www.facebook.com/security/advisories/cve-2021-24045Vendor Advisory
- https://github.com/facebook/hermes/commit/55e1b2343f4deb1a1b5726cfe1e23b2068217ff2Patch, Third Party Advisory
- https://www.facebook.com/security/advisories/cve-2021-24045Vendor Advisory
Timeline
- Published
- Dec 13, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified