CVE-2021-24044
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.
How to fix
- facebook hermes0.10.0 or later
- hermes-engine0.10.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| facebook hermes | v < 0.10.0 | 0.10.0 |
| hermes-enginenpm | v < 0.10.0 | 0.10.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.