Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-1920

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-1920
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:34 UTC · Revision 1

Source evidence

CVE-2020-1920

core-osv · Original source

Published 1 Jun 2021, 14:15 UTC

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.

osv:CVE-2020-1920
Complete source record
{
  "id": "f701e298634a8a6601b3b6eba65f02bc109c0e0ccb718544ae43b698e7e5cc76",
  "url": "https://osv.dev/vulnerability/CVE-2020-1920",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-1920",
    "summary": "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.",
    "evidence": "osv:CVE-2020-1920",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-1920",
      "aliases": [
        "CVE-2020-1920",
        "GHSA-7f53-fmmv-mfjv"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/react/react-native",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7c73f2bb5a0f97902f469bc043681e79e161aac3"
                },
                {
                  "fixed": "787567a15014c73b87353b7d418c064c5643e7cc"
                },
                {
                  "fixed": "ca09ae82715e33c9ac77b3fa55495cf84ba891c7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:facebook:react-native:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.59.0"
                      },
                      {
                        "fixed": "0.64.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ca09ae82715e33c9ac77b3fa55495cf84ba891c7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "787567a15014c73b87353b7d418c064c5643e7cc"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.64.1"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-1920.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-1920-aa2c0ef5",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "38648504482845758380890527369223853047",
                    "237330615071155511770482017833663329878",
                    "76753654515882591088767598865977268070"
                  ]
                },
                "source": "https://github.com/react/react-native/commit/787567a15014c73b87353b7d418c064c5643e7cc",
                "target": {
                  "file": "ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-1920-d4f551da",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "181531448390723639034103199115214914710",
                    "144467566250035608914775916386623595855",
                    "110479464497664185125002398735225219149",
                    "184865437213501378424942131855546629974"
                  ]
                },
                "source": "https://github.com/react/react-native/commit/787567a15014c73b87353b7d418c064c5643e7cc",
                "target": {
                  "file": "ReactCommon/cxxreact/ReactNativeVersion.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:52:41Z"
          }
        }
      ],
      "modified": "2026-10-20T13:52:41.996984245Z",
      "provider": "osv",
      "references": [
        "https://github.com/facebook/react-native/releases/tag/v0.64.1",
        "https://github.com/facebook/react-native/commit/ca09ae82715e33c9ac77b3fa55495cf84ba891c7"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-1920",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388334,
  "published_at": "2021-06-01T14:15:08.347+00:00"
}