cve.bz

CVE-2021-24044

9.8 criticalEPSS 1.3%

Critical (9.8) in facebook hermes. EPSS 1.3% chance of exploitation in the next 30 days. Fixed in hermes-engine 0.10.0.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.3% chance of exploitation in the next 30 days; higher than 69% of CVEs (scores of 2026-10-31)
CWE
CWE-843
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7mhc-prgv-r3q4npmhermes-engine<0.10.00.10.0

References

Check your stackJSON