GitHub Advisoryadvisory · npm
GHSA-7f53-fmmv-mfjv Regular expression denial of service in react-native
HIGH
Official page ↗
- Aliases
- CVE-2020-1920
- Ecosystem
- npm
- Packages
- react-native
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400, CWE-697
- Reviewed
- 2021-06-02
Affected packages
• npm react-native: >= 0.59.0, < 0.62.3 → fixed in 0.62.3
• npm react-native: >= 0.63.0, < 0.64.1 → fixed in 0.64.1
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.
Related
Alias · CVE (1)
- CVE-2020-1920 A regular expression denial of service (ReDoS) vulnerability in the validateBaseUrl function can cause the application to use excessive… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-1920 advisory
- https://github.com/facebook/react-native/commit/ca09ae82715e33c9ac77b3fa55495cf84ba891c7 web
- https://github.com/facebook/react-native/releases/tag/v0.62.3 web
- https://github.com/facebook/react-native/releases/tag/v0.64.1 web
- https://securitylab.github.com/advisories/GHSL-2020-293-redos-react-native advisory
- https://www.npmjs.com/package/react-native web