{"id":"CVE-2022-2596","aliases":["GHSA-vp56-6g26-6827"],"url":"https://o3.security/vulnerability/CVE-2022-2596","summary":"Inefficient Regular Expression Complexity in node-fetch/node-fetch","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'`.","published":"2022-08-01T14:13:20Z","modified":"2026-10-28T02:30:58.560220916Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"node-fetch","fixedVersion":"3.2.10"}],"fix":{"url":"https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d","label":"node-fetch/node-fetch@2880238"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2596.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2596"},{"type":"FIX","url":"https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d"},{"type":"WEB","url":"https://github.com/node-fetch/node-fetch/pull/1611"},{"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:58.560220916Z"}}