CVE-2022-35289CWE-680

A write-what-where condition in hermes caused by an integer overflow, prior to commit 5b6255ae049fa4641791e47fad994e8e8c4da374 allows attackers to potentially…

published October 11, 2022

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

⚠️ An integer overflow in Hermes creates a sneaky write-what-where condition that could let attackers execute arbitrary code! Just imagine if they could slip a malicious script right into your app! Think of it like a restaurant where the chef can accidentally put a wrong order in the system, allowing an unauthorized dish to slip past the kitchen checks and be served to customers. If that order isn't properly controlled, the consequences can be disastrous! If exploited, an attacker could run any code they want, leading to potential data breaches or malicious actions being taken within your application. Though this is only a risk if you're evaluating untrusted JavaScript, it’s a reminder to stay vigilant!

Put simply

Think of it like a restaurant where the chef can accidentally put a wrong order in the system, allowing an unauthorized dish to slip past the kitchen checks and be served to customers. If that order isn't properly controlled, the consequences can be disastrous! This vulnerability stems from an integer overflow in Hermes, allowing a write-what-where condition that could be triggered via crafted JavaScript. It's important to note that this is primarily a concern if the application permits the evaluation of untrusted JavaScript code.

What to do

If exploited, an attacker could run any code they want, leading to potential data breaches or malicious actions being taken within your application. Though this is only a risk if you're evaluating untrusted JavaScript, it’s a reminder to stay vigilant! To safeguard your application, ensure you're using Hermes version after commit 5b6255ae049fa4641791e47fad994e8e8c4da374. Additionally, review your app's JavaScript evaluation practices and restrict any untrusted code execution. Regularly check for updates and patches as they become available! You've got this! By following these steps, you can keep your application secure and your users safe! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01174 · 67.2th percentile
Weakness
CWE-680 · Integer Overflow to Buffer Overflow
Published
2022-10-11T00:00Z
EPSS history
Timeline
  • 11 OCT 00:00Z
    A write-what-where condition in hermes caused by an integer overflow, prior to commit 5b6255ae049fa4641791e47fad994e8e8c4da374 allows attackers to potentially…
    cvelistv5