Vulnerability · Published Jun 1, 2021 · Assigned by facebook

CVE-2020-1920

High 7.5

In plain English

A high-severity regular-expression denial of service in react-native from Facebook. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.4%top 28.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmreact-native0.62.3GHSA-7f53-fmmv-mfjv
npmreact-native0.64.1GHSA-7f53-fmmv-mfjv

Affected products (as reported)

VendorProductVersions
Facebook react-native 0.59.0 – before unspecified

Weakness: CWE-1333

References