Critical severityNVD Advisory· Published Jun 15, 2021· Updated Aug 3, 2024
CVE-2021-24037
CVE-2021-24037
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
hermes-enginenpm | < 0.8.0 | 0.8.0 |
Affected products
2- Facebook/Hermesv5Range: commit prior to d86e185e485b6330216dee8e854455c694e3a36e
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-mph8-6787-r8hwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-24037ghsaADVISORY
- github.com/facebook/hermes/commit/d86e185e485b6330216dee8e854455c694e3a36eghsax_refsource_CONFIRMWEB
- www.facebook.com/security/advisories/CVE-2021-24037ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.