Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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