CVE-2021-24044

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

Configuration 1 (hide)

cpe:2.3:a:facebook:hermes:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:52

Type Values Removed Values Added
References () https://www.facebook.com/security/advisories/cve-2021-24044 - Vendor Advisory () https://www.facebook.com/security/advisories/cve-2021-24044 - Vendor Advisory

Information

Published : 2022-01-15 01:15

Updated : 2024-11-21 05:52


NVD link : CVE-2021-24044

Mitre link : CVE-2021-24044

CVE.ORG link : CVE-2021-24044


JSON object : View

Products Affected

facebook

  • hermes
CWE
CWE-843

Access of Resource Using Incompatible Type ('Type Confusion')