GHSA-7f53-fmmv-mfjv
Regular expression denial of service in react-native
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | react-native | >= 0.59.0, < 0.62.3 | 0.62.3 |
| npm | react-native | >= 0.63.0, < 0.64.1 | 0.64.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-1920
- https://github.com/facebook/react-native/commit/ca09ae82715e33c9ac77b3fa55495cf84ba891c7
- https://github.com/facebook/react-native/releases/tag/v0.62.3
- https://github.com/facebook/react-native/releases/tag/v0.64.1
- https://securitylab.github.com/advisories/GHSL-2020-293-redos-react-native
- https://www.npmjs.com/package/react-native