VULNERABILITY INTELLIGENCE
CVE-2021-24037
CVSS score9.8 CRITICAL
EPSS probability1.80%
CISA KEVNot currently listed
Published2021-06-15
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- cve-assign@fb.com: CWE-416
- nvd@nist.gov: CWE-416
Primary references
- cve-assign@fb.com — Patch, Third Party Advisory
- cve-assign@fb.com — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Vendor Advisory