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.
References
Link | Resource |
---|---|
https://www.facebook.com/security/advisories/cve-2021-24044 | Vendor Advisory |
Configurations
Information
Published : 2022-01-14 17:15
Updated : 2022-01-24 11:53
NVD link : CVE-2021-24044
Mitre link : CVE-2021-24044
JSON object : View
CWE
CWE-843
Access of Resource Using Incompatible Type ('Type Confusion')
Products Affected
- hermes