CVE-2023-23557 Memory corruption in Hermes
A type confusion vulnerability in the Hermes JavaScript engine allows arbitrary code execution when processing untrusted JavaScript.
- 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-2023-23557?
CVE-2023-23557 is a critical memory corruption vulnerability in Facebook Hermes, published on 18 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An error in Hermes' algorithm for copying objects properties prior to commit a00d237346894c6067a594983be6634f4168c9ad could be used by a malicious attacker to execute arbitrary code via type confusion. Note that this is only exploitable in cases where Hermes is used to execute untrusted JavaScript. Hence, most React Native applications are not affected.
Weakness: CWE-843
Which versions are affected by CVE-2023-23557?
It affects 1 product.
Products include Facebook Hermes.
How do I fix CVE-2023-23557?
No fix has been published for CVE-2023-23557 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-2023-23557 being exploited?
There is no known exploitation of CVE-2023-23557 in the wild and no public exploit code.
Other vulnerabilities in Facebook Hermes
Sources
Also known as GHSA-j9jr-2qmg-cr6m.