CVE-2021-24037
Critical
Description
A use after free in hermes, while emitting certain error messages, prior to commit d86e185e485b6330216dee8e854455c694e3a36e allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.
SeverityCritical
CVSS9.8
Exploit probability—
Product
Facebook Hermes
PublishedJun 15, 2021
First seenJun 15, 2021
Weakness typeCWE-416Use after free
How to fix
Update
- facebook hermes0.8.0 or later
- hermes-engine0.8.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| facebook hermes | v < 0.8.0 | 0.8.0 |
| hermes-enginenpm | v < 0.8.0 | 0.8.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.