CVE-2020-1920: facebook react-native
CVSS: 7.5v3.1HighModified
AliasesGHSA-7f53-fmmv-mfjv
Published 01-06-2021Last modified 04-08-2024
Vulnerability summary
CVE-2020-1920 is a high (CVSS 7.5) vulnerability in facebook react-native. EPSS estimates a 1.36% chance of exploitation in the next 30 days, higher than 71.3% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
1.36%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 01-06-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
A regular expression denial of service (ReDoS) vulnerability in the validateBaseUrl function can cause the application to use excessive resources, become unresponsive, or crash. This was introduced in react-native version 0.59.0 and fixed in version 0.64.1.
CVSS metrics
3 scores · 2 sources · 2 versionsHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 2 agree
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
1.36%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
0.00 pp
From 1.36% on 20-09-2026
20-09-202620-10-2026
EPSS score1.36%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-1333Inefficient Regular Expression ComplexityThe product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
- CWE-697Incorrect ComparisonThe product compares two entities in a security-relevant context, but the comparison is incorrect.
Affected systems
Facebook1 product
- react-native≥ 0.59.0, < unspecified | ≥ 0.59.0, < 0.64.1
Npm1 product
- react-native≥ 0.59.0, < 0.62.3 | ≥ 0.63.0, < 0.64.1
2 vendors · 2 products
References
6 links- github.com/facebook/react-native/releases/tag/v0.64.1X Refsource CONFIRMWEBRelease NotesThird Party Advisory
- github.com/facebook/react-native/commit/ca09ae82715e33c9ac77b3fa55495cf84ba891c7X Refsource MISCWEBPatchThird Party Advisory