CVE-2021-24044
Last modified
CVE-2021-24044 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hermes | < 0.10.0 |
References
- https://www.facebook.com/security/advisories/cve-2021-24044Vendor Advisory
- https://www.facebook.com/security/advisories/cve-2021-24044Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-24044?
How severe is CVE-2021-24044?
How do I fix CVE-2021-24044?
Are you affected by CVE-2021-24044?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
