CVE-2020-1920 Regular expression denial of service in react-native
HighCVSS 7.5
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| facebook react-native | >= 0.59.0; >= 0.59.0, < 0.64.1 | 0.64.1 | Partially fixed |
| npm react-native(npm) | >= 0.59.0, < 0.62.3; >= 0.63.0, < 0.64.1 | 0.62.3, 0.64.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm react-native(npm) | >= 0.59.0, < 0.62.3 | 0.62.3 |
| npm react-native(npm) | >= 0.63.0, < 0.64.1 | 0.64.1 |
| facebook react-native | >= 0.59.0, < 0.64.1 | 0.64.1 |
| facebook react-native | >= 0.59.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com release-notes third-party-advisory
- www.npmjs.com
- github.com
- securitylab.github.com vendor-advisory
- github.com