CVE-2021-24044
Last modified
CVE-2021-24044 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. By passing invalid javascript code where await and yield were called upon non-async and non-generator getter/setter functions, Hermes would invoke generator functions and error out on invalid await/yield positions. This could result in segmentation fault as a consequence of type confusion error, with a low chance of RCE. EPSS estimates a 1.26% chance of exploitation in the next 30 days.
Description
By passing invalid javascript code where await and yield were called upon non-async and non-generator getter/setter functions, Hermes would invoke generator functions and error out on invalid await/yield positions. This could result in segmentation fault as a consequence of type confusion error, with a low chance of RCE. This issue affects Hermes versions prior to v0.10.0.
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.10.0 |
References
- https://www.facebook.com/security/advisories/cve-2021-24044Vendor Advisory
- https://www.facebook.com/security/advisories/cve-2021-24044Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-24044?
How severe is CVE-2021-24044?
How do I fix CVE-2021-24044?
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-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
- CVE-2021-24045A type confusion vulnerability could be triggered when resol…9.8
- CVE-2021-24046A logic flaw in Ray-Ban® Stories device software allowed som…5.3
- CVE-2021-2405Vulnerability in the Oracle Engineering product of Oracle E-…8.1
- CVE-2021-2406Vulnerability in the Oracle Collaborative Planning product o…8.1
- CVE-2021-24066Microsoft SharePoint Remote Code Execution Vulnerability8.8
- CVE-2021-24067Microsoft Excel Remote Code Execution Vulnerability7.8
Are you affected by CVE-2021-24044?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
