{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-1920","id":"CVE-2020-1920","title":"Regular expression denial of service in react-native","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.","descriptionLong":"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.","published":"2021-06-01T11:45:12.000Z","updated":"2026-10-20T13:52:41.996984245Z","reserved":"2019-12-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"facebook","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Facebook react-native"],"affectedProducts":[{"vendor":"Facebook","product":"react-native","defaultStatus":null,"versions":[{"lessThan":"unspecified","status":"unaffected","version":"0.64.1","versionType":"custom"},{"lessThan":"unspecified","status":"affected","version":"0.59.0","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"react-native","purl":"pkg:npm/react-native","ranges":[">=0.59.0 <0.62.3",">=0.63.0 <0.64.1"],"fixed":["0.62.3","0.64.1"],"advisory":"GHSA-7f53-fmmv-mfjv"}],"cwes":["CWE-1333","CWE-697","CWE-400"],"aliases":["GHSA-7f53-fmmv-mfjv"],"references":[{"url":"https://github.com/facebook/react-native/releases/tag/v0.64.1","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/facebook/react-native/commit/ca09ae82715e33c9ac77b3fa55495cf84ba891c7","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1920","tags":["advisory"]},{"url":"https://github.com/facebook/react-native/releases/tag/v0.62.3","tags":["web"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-293-redos-react-native","tags":["advisory"]},{"url":"https://www.npmjs.com/package/react-native","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01363,"epssPercentile":0.72339,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-1920","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1920","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-1920","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7f53-fmmv-mfjv","ok":true,"note":"GHSA-7f53-fmmv-mfjv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-1920","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["react"],"critical":[],"attention":null}