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

Configuration 1 (hide)

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

History

24 Jan 2022, 19:53

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
First Time Facebook
Facebook hermes
References (CONFIRM) https://www.facebook.com/security/advisories/cve-2021-24044 - (CONFIRM) https://www.facebook.com/security/advisories/cve-2021-24044 - Vendor Advisory
CWE CWE-843
CPE cpe:2.3:a:facebook:hermes:*:*:*:*:*:*:*:*

15 Jan 2022, 03:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-01-15 01:15

Updated : 2023-12-10 14:09


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')