CVE-2020-1920
HIGH 7.5CVSS 3.1Regular expression denial of service in react-native
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.
- Published
- 1 Jun 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve-assign@fb.com
- NVD status
- Modified
- Weakness
- CWE-1333CWE-400CWE-697
- Also known as
- GHSA-7f53-fmmv-mfjv
- Sources
- NVDJSONOSV GHSA-7f53-fmmv-mfjvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | react-nativecpe:2.3:a:facebook:react-native:*:*:*:*:*:*:*:* |
>= 0.59.0, < 0.64.1 | 0.64.1 | |
| OSV | npm | react-native | >= 0.59.0, < 0.62.3 | 0.62.3 |
| OSV | npm | react-native | >= 0.63.0, < 0.64.1 | 0.64.1 |
References
- https://github.com/facebook/react-native/commit/ca09ae82715e33c9ac77b3fa55495cf84ba891c7 · Patch, Third Party Advisory, WEB
- https://github.com/facebook/react-native/releases/tag/v0.64.1 · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-1920 · ADVISORY
- https://github.com/facebook/react-native/releases/tag/v0.62.3 · WEB
- https://securitylab.github.com/advisories/GHSL-2020-293-redos-react-native · ADVISORY
- https://www.npmjs.com/package/react-native · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 1 Jun 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 20 Jul 2021)