CVE-2021-24044

Published Jan 15, 2022 CVSS 3.1 · 9.8 Critical EPSS 1.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0501 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.
Github GHSA Github GHSA GHSA-7mhc-prgv-r3q4 Access of Resource Using Incompatible Type in Hermes
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
facebook
Published
Updated
Aug 3, 2024, 7:21 PM
Reserved
Jan 13, 2021, 12:00 AM
Status
Modified
Published
Jan 15, 2022, 1:15 AM
Modified
Jun 17, 2026, 3:39 AM