CVE-2020-1911CWE-843

A type confusion vulnerability when resolving properties of JavaScript objects with specially-crafted prototype chains in Facebook Hermes prior to commit…

published September 4, 2020

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

⚠️ A crafty type confusion flaw in Facebook's Hermes engine could let attackers execute arbitrary code with a little JavaScript mischief! 💻 Think of this vulnerability as a waiter who brings you the wrong dish because the menu items are mixed up — if you’re not careful about what you order, you might end up with something unexpected and unwanted! If exploited, this could allow attackers to run malicious code within your application, potentially compromising user data and system integrity. Fortunately, most React Native applications don’t utilize untrusted JavaScript, which means they’re largely safe from this trickery!

Put simply

Think of this vulnerability as a waiter who brings you the wrong dish because the menu items are mixed up — if you’re not careful about what you order, you might end up with something unexpected and unwanted! CVE-2020-1911 arises from a type confusion vulnerability in the way Facebook Hermes resolves properties in JavaScript objects, specifically when dealing with crafted prototype chains.

What to do

If exploited, this could allow attackers to run malicious code within your application, potentially compromising user data and system integrity. Fortunately, most React Native applications don’t utilize untrusted JavaScript, which means they’re largely safe from this trickery! Ensure that your application does not evaluate untrusted JavaScript. If you're using Facebook's Hermes engine, consider updating to the latest version incorporating the fix from commit fe52854cdf6725c2eaa9e125995da76e6ceb27da for added security. You've got this! Stay vigilant, and keep your apps secure! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02003 · 80.6th percentile
Weakness
CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')
Published
2020-09-04T02:35Z
EPSS history
Timeline
  • 04 SEP 02:35Z
    A type confusion vulnerability when resolving properties of JavaScript objects with specially-crafted prototype chains in Facebook Hermes prior to commit…
    cvelistv5