Vulnerability · Published Sep 9, 2020 · Assigned by facebook
CVE-2020-1913
High 8.1
In plain English
A high-severity security flaw in Hermes from Facebook. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An Integer signedness error in the JavaScript Interpreter in Facebook Hermes prior to commit 2c7af7ec481ceffd0d14ce2d7c045e475fd71dc6 allows attackers to cause a denial of service attack or a potential RCE 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | hermes-engine | 0.5.2 | GHSA-gmpm-xp43-f7g6 |
Affected products (as reported)
Weakness: CWE-195
References
- https://www.facebook.com/security/advisories/cve-2020-1913 x_refsource_CONFIRM
- https://github.com/facebook/hermes/commit/2c7af7ec481ceffd0d14ce2d7c045e475fd71dc6 x_refsource_CONFIRM