9.8

CVE-2021-24044: facebook hermes Type Confusion

CVSS: 9.8v3.1CriticalModified
AliasesGHSA-7mhc-prgv-r3q4
Published 15-01-2022Last modified 03-08-2024

Vulnerability summary

CVE-2021-24044 is a critical (CVSS 9.8) Type Confusion vulnerability in facebook hermes. EPSS estimates a 1.26% chance of exploitation in the next 30 days, higher than 69.2% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 15-01-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

By passing invalid javascript code where await and yield were called upon non-async and non-generator getter/setter functions, Hermes would invoke generator functions and error out on invalid await/yield positions. This could result in segmentation fault as a consequence of type confusion error, with a low chance of RCE. This issue affects Hermes versions prior to v0.10.0.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

1.26%

Chance of exploitation in the next 30 days

Percentile

69%

Versus all other CVEs

30-day change

0.00 pp

From 1.26% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.26%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Facebook1 product
  • hermes≥ unspecified, < 0.10.0 | < 0.10.0
Npm1 product
  • hermes-engine< 0.10.0

2 vendors · 2 products

References

3 links