CVE-2021-24045: facebook hermes Type Confusion
CVSS: 9.8v3.1CriticalModified
Published 13-12-2021Last modified 03-08-2024
Vulnerability summary
CVE-2021-24045 is a critical (CVSS 9.8) Type Confusion vulnerability in facebook hermes. EPSS estimates a 1.25% chance of exploitation in the next 30 days, higher than 69% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
1.25%
0%100%
Low · +0.04 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 13-12-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 1 source · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesSingle source
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.25%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
+0.04 pp
From 1.21% on 20-09-2026
20-09-202620-10-2026
EPSS score1.25%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Facebook1 product
- hermes≥ unspecified, < 0.10.0 | < 0.10.0
1 vendor · 1 product
References
2 links- github.com/facebook/hermes/commit/55e1b2343f4deb1a1b5726cfe1e23b2068217ff2X Refsource MISCPatchThird Party Advisory