{"id":"GHSA-vp56-6g26-6827","summary":"node-fetch Inefficient Regular Expression Complexity ","details":"[node-fetch](https://www.npmjs.com/package/node-fetch) is a light-weight module that brings window.fetch to node.js.\n\nAffected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the `isOriginPotentiallyTrustworthy()` function in `referrer.js`, when processing a URL string with alternating letters and periods, such as `'http://' + 'a.a.'.repeat(i) + 'a'`.","aliases":["CVE-2022-2596"],"modified":"2023-11-08T04:08:52.815695Z","published":"2022-08-02T00:00:25Z","database_specific":{"github_reviewed_at":"2022-08-04T17:37:24Z","nvd_published_at":"2022-08-01T15:15:00Z","cwe_ids":["CWE-1333","CWE-400"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2596"},{"type":"WEB","url":"https://github.com/node-fetch/node-fetch/pull/1611"},{"type":"WEB","url":"https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d"},{"type":"PACKAGE","url":"https://github.com/node-fetch/node-fetch"},{"type":"WEB","url":"https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10"},{"type":"WEB","url":"https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7"}],"affected":[{"package":{"name":"node-fetch","ecosystem":"npm","purl":"pkg:npm/node-fetch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.2.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-vp56-6g26-6827/GHSA-vp56-6g26-6827.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}