CVE-2020-1896CWE-121

A stack overflow vulnerability in Facebook Hermes 'builtin apply' prior to commit 86543ac47e59c522976b5632b8bf9a2a4583c7d2…

published February 2, 2021

CVSS
—
EPSS
2%
Percentile
84.0
In the wild
Unconfirmed
What it is

⚠️ A sneaky stack overflow in Facebook's Hermes could open the door to arbitrary code execution! 💥 This issue lurks in the 'builtin apply' function and needs your attention! Think of it like a restaurant where a waiter serves a dish without verifying the recipe. If the chef decides to add something dangerous without checking, it could lead to a disastrous meal for unsuspecting customers! An attacker could craft a JavaScript snippet that exploits this stack overflow, potentially allowing them to execute arbitrary code. While this isn't rampant, it poses a risk if untrusted JavaScript is evaluated, leading to serious security concerns!

Put simply

Think of it like a restaurant where a waiter serves a dish without verifying the recipe. If the chef decides to add something dangerous without checking, it could lead to a disastrous meal for unsuspecting customers! This vulnerability allows attackers to exploit a stack overflow within the Hermes JavaScript engine, specifically through the 'builtin apply' function. If an application permits the evaluation of untrusted JavaScript, it becomes susceptible to this exploit.

What to do

An attacker could craft a JavaScript snippet that exploits this stack overflow, potentially allowing them to execute arbitrary code. While this isn't rampant, it poses a risk if untrusted JavaScript is evaluated, leading to serious security concerns! To mitigate this risk, ensure your application avoids evaluating untrusted JavaScript. Review and update to the latest Hermes commit (after 86543ac47e59c522976b5632b8bf9a2a4583c7d2) to close this vulnerability. It's crucial to stay vigilant! You've got this! By following these steps, you'll enhance your security posture and keep your applications safe! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02418 · 84.0th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2021-02-02T06:50Z
EPSS history
Timeline
  • 02 FEB 06:50Z
    A stack overflow vulnerability in Facebook Hermes 'builtin apply' prior to commit 86543ac47e59c522976b5632b8bf9a2a4583c7d2…
    cvelistv5