Vulnerability Details : CVE-2020-1914
A logic vulnerability when handling the SaveGeneratorLong instruction in Facebook Hermes prior to commit b2021df620824627f5a8c96615edbd1eb7fdddfc allows attackers to potentially read out of bounds or theoretically 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.
Vulnerability category: Execute code
Products affected by CVE-2020-1914
- cpe:2.3:a:facebook:hermes:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-1914
0.85%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 73 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-1914
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2020-1914
-
The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.Assigned by:
- cve-assign@fb.com (Secondary)
- nvd@nist.gov (Primary)
-
The code uses too many unconditional branches (such as "goto").Assigned by: cve-assign@fb.com (Secondary)
References for CVE-2020-1914
-
https://www.facebook.com/security/advisories/cve-2020-1914
FacebookVendor Advisory
-
https://github.com/facebook/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc
Fix CVE-2020-1914 by using NEXTINST for SaveGeneratorLong · facebook/hermes@b2021df · GitHubPatch;Third Party Advisory
Jump to