CVE-2022-32234 Memory corruption in Hermes
Attackers can execute arbitrary code via crafted JavaScript in Hermes if the application permits untrusted script evaluation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-32234?
CVE-2022-32234 is a critical memory corruption vulnerability in Facebook Hermes, published on 11 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An out of bounds write in hermes, while handling large arrays, prior to commit 06eaec767e376bfdb883d912cb15e987ddf2bda1 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.
Weakness: CWE-787
Which versions are affected by CVE-2022-32234?
It affects 1 product.
Products include Facebook Hermes.
How do I fix CVE-2022-32234?
No fix has been published for CVE-2022-32234 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-32234 being exploited?
There is no known exploitation of CVE-2022-32234 in the wild and no public exploit code.
Other vulnerabilities in Facebook Hermes
Sources
Also known as GHSA-q8qc-v2h9-h47q.