critical9.8
CVE-2021-24045
A type confusion vulnerability could be triggered when resolving the "typeof" unary operator in Facebook Hermes prior to v0.10.0.
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Hermes | before 0.10.0 |
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/facebook/hermes/commit/55e1b2343f4deb1a1b5726cfe1e23b2068217ff2
- https://www.facebook.com/security/advisories/cve-2021-24045
- https://github.com/facebook/hermes/commit/55e1b2343f4deb1a1b5726cfe1e23b2068217ff2
- https://www.facebook.com/security/advisories/cve-2021-24045