Integer Overflow or Wraparound
CVE-2022-35289
Summary
A write-what-where condition in Hermes caused by an integer overflow, versions prior to 0.12.0 allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits the evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-190 - Integer Overflow or Wraparound
The software performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.
References
Advisory Timeline
- Published