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.
Published: 2022-01-15
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

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.

cve-icon MITRE

Status: PUBLISHED

Assigner: facebook

Published:

Updated: 2024-08-03T19:21:17.267Z

Reserved: 2021-01-13T00:00:00.000Z

Link: CVE-2021-24044

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-01-15T01:15:07.943

Modified: 2024-11-21T05:52:16.290

Link: CVE-2021-24044

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses