CVE-2021-24037
Last modified
CVE-2021-24037 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.80% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hermes | < 0.8.0 |
References
- https://github.com/facebook/hermes/commit/d86e185e485b6330216dee8e854455c694e3a36ePatch, Third Party Advisory
- https://www.facebook.com/security/advisories/CVE-2021-24037Vendor Advisory
- https://github.com/facebook/hermes/commit/d86e185e485b6330216dee8e854455c694e3a36ePatch, Third Party Advisory
- https://www.facebook.com/security/advisories/CVE-2021-24037Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-24037?
How severe is CVE-2021-24037?
How do I fix CVE-2021-24037?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-24030The fbgames protocol handler registered as part of Facebook …9.8
- CVE-2021-24031In the Zstandard command-line utility prior to v1.4.1, outpu…5.5
- CVE-2021-24032Beginning in v1.4.1 and prior to v1.4.9, due to an incomplet…4.7
- CVE-2021-24033react-dev-utils prior to v11.0.4 exposes a function, getProc…5.6
- CVE-2021-24035A lack of filename validation when unzipping archives prior …9.1
- CVE-2021-24036Passing an attacker controlled size when creating an IOBuf c…9.8
- CVE-2021-24038Due to a bug with management of handles in OVRServiceLaunche…7.8
- CVE-2021-2404Vulnerability in the PeopleSoft Enterprise HCM Candidate Gat…6.5
- CVE-2021-24040Due to use of unsafe YAML deserialization logic, an attacker…9.8
- CVE-2021-24041A missing bounds check in image blurring code prior to Whats…9.8
- CVE-2021-24042The calling logic for WhatsApp for Android prior to v2.21.23…9.8
- CVE-2021-24043A missing bound check in RTCP flag parsing code prior to Wha…9.1
Are you affected by CVE-2021-24037?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
