CVE-2022-40138
N/A
N/A
Summary
An integer conversion error in Hermes bytecode generation, prior to commit 6aa825e480d48127b480b08d13adf70033237097, could have been used to perform Out-Of-Bounds operations and subsequently execute arbitrary code. Note that this is only exploitable in cases where Hermes is used to execute untrusted JavaScript. Hence, most React Native applications are not affected.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Hermes | unspecified < commit prior to 6aa825e480d48127b480b08d13adf70033237097 | affected |
Weaknesses
- CWE-681: CWE-681: Incorrect Conversion between Numeric Types
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/facebook/hermes/commit/6aa825e480d48127b480b08d13adf70033237097
- https://www.facebook.com/security/advisories/CVE-2022-40138
References
- https://github.com/facebook/hermes/commit/6aa825e480d48127b480b08d13adf70033237097
- https://www.facebook.com/security/advisories/CVE-2022-40138
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.