Out-of-Bounds Affecting hermes-engine package, versions <0.7.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.67% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-HERMESENGINE-629748
  • published10 Sept 2020
  • disclosed10 Sept 2020
  • creditUnknown

Introduced: 10 Sep 2020

CVE-2020-1912  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade hermes-engine to version 0.7.0 or higher.

Overview

hermes-engine is an A JavaScript engine optimized for running React Native on Android

Affected versions of this package are vulnerable to Out-of-Bounds. An out-of-bounds read/write vulnerability when executing lazily compiled inner generator functions allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.

CVSS Scores

version 3.1