First published: Tue Jun 15 2021(Updated: )
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.
Credit: cve-assign@fb.com
Affected Software | Affected Version | How to fix |
---|---|---|
Facebook Hermes | <0.8.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2021-24037 is critical with a CVSS score of 9.8.
CVE-2021-24037 is a use after free vulnerability in Hermes, which allows attackers to potentially execute arbitrary code via crafted JavaScript.
This vulnerability can be exploited if the application using Hermes permits evaluation of untrusted JavaScript code.
Versions up to exclusive 0.8.0 of Facebook Hermes are affected by CVE-2021-24037.
Yes, the fix for CVE-2021-24037 is available in the commit d86e185e485b6330216dee8e854455c694e3a36e in the Hermes repository.