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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: facebook

Published:

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

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

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