CVE-2021-24044

published 15 Jan 2022 · updated 3 Aug 2024

By passing invalid javascript code where await and yield were called upon non-async and non-generator getter/setter functions, Hermes would…

5.0MediumEPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.10.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Facebook<0.10.00.10.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-24044 severity on Zeptric[![CVE-2021-24044](https://zeptric.io/badge/cve/CVE-2021-24044.svg)](https://zeptric.io/cve/CVE-2021-24044)