← Back to CVEs
CVE-2021-24037
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published6/15/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
facebook:hermes
Weaknesses (CWE)
CWE-416CWE-416
References
https://github.com/facebook/hermes/commit/d86e185e485b6330216dee8e854455c694e3a36e(cve-assign@fb.com)
https://www.facebook.com/security/advisories/CVE-2021-24037(cve-assign@fb.com)
https://github.com/facebook/hermes/commit/d86e185e485b6330216dee8e854455c694e3a36e(af854a3a-2127-422b-91ae-364da2661108)
https://www.facebook.com/security/advisories/CVE-2021-24037(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.