CVE-2020-1920Facebook React-native
High 7.5 No auth needed
Follow: this CVE · Facebook · Facebook React-native We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Jun 1, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for React-native.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | react-native |
≥ 0.59.0 < 0.62.3 |
0.62.3 |
npm install react-native@0.62.3 |
| npm | react-native |
≥ 0.63.0 < 0.64.1 |
0.64.1 |
npm install react-native@0.64.1 |
Per OSV / GitHub Advisories (GHSA-7f53-fmmv-mfjv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| react-native | ≥ 0.59.0 < 0.64.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory