Skip to content

Regular expression denial of service in react-native

High severity GitHub Reviewed Published Jul 20, 2021 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

npm react-native (npm)

Affected versions

>= 0.59.0, < 0.62.3
>= 0.63.0, < 0.64.1

Patched versions

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

References

Published by the National Vulnerability Database Jun 1, 2021
Reviewed Jun 2, 2021
Published to the GitHub Advisory Database Jul 20, 2021
Last updated Jan 27, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2020-1920

GHSA ID

GHSA-7f53-fmmv-mfjv

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.