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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
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 |
GHSA-7mhc-prgv-r3q4 | Access of Resource Using Incompatible Type in Hermes |
References
| Link | Providers |
|---|---|
| https://www.facebook.com/security/advisories/cve-2021-24044 |
|
History
No history.
Status: PUBLISHED
Assigner: facebook
Published:
Updated: 2024-08-03T19:21:17.267Z
Reserved: 2021-01-13T00:00:00.000Z
Link: CVE-2021-24044
No data.
Status : Modified
Published: 2022-01-15T01:15:07.943
Modified: 2024-11-21T05:52:16.290
Link: CVE-2021-24044
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA