CVE-2022-35289 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...
CriticalCVSS 9.8
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| facebook Hermes | < prior to commit 5b6255ae049fa4641791e47fad994e8e8c4da374 | prior to commit 5b6255ae049fa4641791e47fad994e8e8c4da374 |
| facebook Hermes | < 0.12.0 | 0.12.0 |
References
- github.com patch third-party-advisory
- www.facebook.com vendor-advisory