CVE-2021-24045
publishedHermes vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| — | Hermes0.10.0 to < unspecified (unaffected · custom) · unspecified to < 0.10.0 (affected · custom) | Version-specific | Not stated |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Hermes | 0.10.0 to < unspecified (unaffected · custom)unspecified to < 0.10.0 (affected · custom) | facebook · cna |
Weaknesses
1- CWE-843 CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
References
2Provider assertions
2facebook · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d60a796cb7ae5e04eab96838ddd0675fd389ec046a343b59c20fad04a28ee8a1
- Ingested
- 23 Sep 2026, 07:52:58 UTC
- Source record
- Official CVE record