CVE-2022-32234CWE-787

An out of bounds write in hermes, while handling large arrays, prior to commit 06eaec767e376bfdb883d912cb15e987ddf2bda1 allows attackers to potentially execute…

published October 11, 2022

CVSS
—
EPSS
1%
Percentile
67.3
In the wild
Unconfirmed
What it is

⚠️ An out-of-bounds write in Hermes could let crafty attackers run arbitrary code, but don't panic just yet! This only affects apps that trust untrusted JavaScript. 🦸 Think of Hermes as a waiter in a restaurant. If he accidentally spills dishes off the table because he’s overwhelmed with orders, chaos ensues. But if he only serves well-checked dishes, things remain safe and delicious! If exploited, an attacker could execute arbitrary code on the affected application, potentially compromising user data or gaining unauthorized access. Fortunately, most React Native apps don’t evaluate untrusted JavaScript, so the risk here isn’t widespread. Still, vigilance is key!

Put simply

Think of Hermes as a waiter in a restaurant. If he accidentally spills dishes off the table because he’s overwhelmed with orders, chaos ensues. But if he only serves well-checked dishes, things remain safe and delicious! This vulnerability arises from an out-of-bounds write when Hermes processes large arrays. If an application permits the execution of untrusted JavaScript, an attacker can leverage this flaw to execute malicious code.

What to do

If exploited, an attacker could execute arbitrary code on the affected application, potentially compromising user data or gaining unauthorized access. Fortunately, most React Native apps don’t evaluate untrusted JavaScript, so the risk here isn’t widespread. Still, vigilance is key! To safeguard your application, ensure that you’re using the latest version of Hermes that includes the fix for this out-of-bounds write. Additionally, consider disabling the evaluation of untrusted JavaScript in your React Native application to mitigate potential risks. You've got this! By taking these precautions, you can keep your application secure and running smoothly. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01174 · 67.3th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2022-10-11T00:00Z
EPSS history
Timeline
  • 11 OCT 00:00Z
    An out of bounds write in hermes, while handling large arrays, prior to commit 06eaec767e376bfdb883d912cb15e987ddf2bda1 allows attackers to potentially execute…
    cvelistv5