{"id":"CVE-2022-2596","aliases":["EUVD-2022-6634","GHSA-vp56-6g26-6827","UBUNTU-CVE-2022-2596"],"status":"published","title":"Inefficient Regular Expression Complexity in node-fetch/node-fetch","description":"Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01336,"percentile":0.71421,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333","CWE-400"],"published":"2022-08-01T14:13:20Z","modified":"2026-10-28T02:30:58Z","fixes":[{"ecosystem":"npm","package":"node-fetch","fixed_in":["3.2.10"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"node-fetch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.10"}]}]},{"source":"osv","ecosystem":"npm","package":"node-fetch","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.2.10"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"node-fetch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.3-1","1.7.3-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"node-fetch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.3-1","1.7.3-2","1.7.3-2ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"node-fetch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.1-5","2.6.1-6","2.6.1-7","2.6.7+~2.5.12-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"node-fetch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.0+~cs11.4.11-2","3.3.2+~cs11.4.11-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"node-fetch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.2+~cs11.4.11-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"node-fetch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.2+~cs11.4.11-3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"node-fetch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.2+~cs11.4.11-3"]}],"products":[{"vendor":"node-fetch","product":"node-fetch/node-fetch"},{"vendor":"node-fetch_project","product":"node-fetch"}],"references":[{"url":"https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","web","report"]},{"url":"https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2596","tags":["advisory"]},{"url":"https://github.com/node-fetch/node-fetch/pull/1611","tags":["web"]},{"url":"https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10","tags":["web"]},{"url":"https://github.com/advisories/GHSA-vp56-6g26-6827"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2596.json","tags":["advisory"]},{"url":"https://github.com/node-fetch/node-fetch","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-2596","tags":["report"]},{"url":"https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7/","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2596","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-2596","title":"Inefficient Regular Expression Complexity in node-fetch/node-fetch","description":"Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.","status":"published","published":"2022-08-01T14:13:20Z","modified":"2026-10-07T18:54:27.545Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:34:32.495407Z"}],"euvd":[{"id":"EUVD-2022-6634","description":"Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.","status":"published","published":"2022-08-01T14:13:20Z","modified":"2026-10-07T18:54:27Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T17:27:34.353796Z"}],"ghsa":[{"id":"GHSA-vp56-6g26-6827","title":"node-fetch Inefficient Regular Expression Complexity ","description":"[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'`.","status":"published","published":"2022-08-02T00:00:25Z","modified":"2023-07-11T13:42:39Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-400","CWE-1333"],"updated_at":"2026-11-02T14:36:56.605555Z"}],"nvd":[{"id":"CVE-2022-2596","description":"Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.","status":"published","published":"2022-08-01T15:15:09.713Z","modified":"2026-10-07T19:17:30.317Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:07:24.39467Z"}],"osv":[{"id":"CVE-2022-2596","title":"Inefficient Regular Expression Complexity in node-fetch/node-fetch","description":"Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.","status":"published","published":"2022-08-01T14:13:20Z","modified":"2026-10-28T02:30:58.560220916Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"GHSA-vp56-6g26-6827","title":"node-fetch Inefficient Regular Expression Complexity ","description":"[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'`.","status":"published","published":"2022-08-02T00:00:25Z","modified":"2023-11-08T04:08:52.815695Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-1333","CWE-400"],"updated_at":"2026-11-02T15:46:57.348035Z"},{"id":"UBUNTU-CVE-2022-2596","description":"Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.","status":"published","published":"2022-08-01T15:15:00Z","modified":"2026-10-17T12:56:02.363508784Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:53:53.13624Z"}]}}
