Vulnerability Description
A write-what-where condition in hermes caused by an integer overflow, prior to commit 5b6255ae049fa4641791e47fad994e8e8c4da374 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Hermes | < 0.12.0 |
Related Weaknesses (CWE)
References
- https://github.com/facebook/hermes/commit/5b6255ae049fa4641791e47fad994e8e8c4da3PatchThird Party Advisory
- https://www.facebook.com/security/advisories/CVE-2022-35289Vendor Advisory
- https://github.com/facebook/hermes/commit/5b6255ae049fa4641791e47fad994e8e8c4da3PatchThird Party Advisory
- https://www.facebook.com/security/advisories/CVE-2022-35289Vendor Advisory
FAQ
What is CVE-2022-35289?
CVE-2022-35289 is a vulnerability with a CVSS score of 9.8 (CRITICAL). A write-what-where condition in hermes caused by an integer overflow, prior to commit 5b6255ae049fa4641791e47fad994e8e8c4da374 allows attackers to potentially execute arbitrary code via crafted JavaSc...
How severe is CVE-2022-35289?
CVE-2022-35289 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2022-35289?
Check the references section above for vendor advisories and patch information. Affected products include: Facebook Hermes.