Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. react-native
  4. ›
  5. CVE-2020-1920

CVE-2020-1920: Regular expression denial of service in react-native

July 20, 2021

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 and fixed

References

  • github.com/advisories/GHSA-7f53-fmmv-mfjv
  • github.com/facebook/react-native/commit/ca09ae82715e33c9ac77b3fa55495cf84ba891c7
  • github.com/facebook/react-native/releases/tag/v0.62.3
  • github.com/facebook/react-native/releases/tag/v0.64.1
  • nvd.nist.gov/vuln/detail/CVE-2020-1920
  • securitylab.github.com/advisories/GHSL-2020-293-redos-react-native/
  • www.npmjs.com/package/react-native

Code Behaviors & Features

Detect and mitigate CVE-2020-1920 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.59.0 before 0.62.3, all versions starting from 0.63.0 before 0.64.1

Fixed versions

  • 0.62.3
  • 0.64.1

Solution

Upgrade to versions 0.62.3, 0.64.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

npm/react-native/CVE-2020-1920.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:07 +0000.