CVE-2021-24037: Use After Free

Published 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.

Affected Software

1 affected component
Facebook Hermes<0.8.0

Event History

Jun 15, 2021
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-24037?

The severity of CVE-2021-24037 is critical with a CVSS score of 9.8.

2

What is the vulnerability description of CVE-2021-24037?

CVE-2021-24037 is a use after free vulnerability in Hermes, which allows attackers to potentially execute arbitrary code via crafted JavaScript.

3

How can this vulnerability be exploited?

This vulnerability can be exploited if the application using Hermes permits evaluation of untrusted JavaScript code.

4

Which software versions are affected by CVE-2021-24037?

Versions up to exclusive 0.8.0 of Facebook Hermes are affected by CVE-2021-24037.

5

Is there a fix available for CVE-2021-24037?

Yes, the fix for CVE-2021-24037 is available in the commit d86e185e485b6330216dee8e854455c694e3a36e in the Hermes repository.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203