CVE-2020-1920
Regular expression denial of service in react-native
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-1333, CWE-697
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | react-native | >=0.59.0, <0.62.3>=0.63.0, <0.64.1 | 0.62.30.64.1 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/facebook/react-native/commit/ca09ae82715e33c9ac77b3fa55495cf84ba891c7
- github.com https://github.com/facebook/react-native/releases/tag/v0.62.3
- github.com https://github.com/facebook/react-native/releases/tag/v0.64.1
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-1920
- securitylab.github.com https://securitylab.github.com/advisories/GHSL-2020-293-redos-react-native
- www.npmjs.com https://www.npmjs.com/package/react-native
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.