{"schemaVersion":3,"id":"CVE-2022-2596","aliases":["UBUNTU-CVE-2022-2596","GHSA-vp56-6g26-6827"],"status":"published","duplicateOf":null,"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.","dates":{"published":"2022-08-01T14:13:20.000Z","modified":"2026-10-07T18:54:27.545Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","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","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","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","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01336,"percentile":0.7098,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.06600000000000009,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.0127},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01336,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01336,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01336,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01336,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01336,"percentile":0.7098}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0127,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01298,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01336,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01336,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01336,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01336,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01336,"percentile":0.7098}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_F6D915B1C10BDAB5","name":"Exploit Reference (huntr.dev)","source":"reference","url":"https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.html"}],"affected":[{"vendor":"ubuntu","product":"node-fetch","name":"node-fetch","label":"node-fetch","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/node-fetch","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"node-fetch_project","product":"node-fetch","name":"node-fetch","label":"node-fetch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, < 3.2.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.2.10","eol":null,"hubHref":"/vendor/node-fetch_project/node-fetch"},{"vendor":"node-fetch","product":"node-fetch/node-fetch","name":"node-fetch/node-fetch","label":"node-fetch/node-fetch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0.0, < unspecified","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < unspecified","eol":null,"hubHref":"/vendor/node-fetch/node-fetchnode-fetch"},{"vendor":"Npm","product":"node-fetch","name":"node-fetch","label":"node-fetch","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/node-fetch","purlType":"npm","versions":[{"text":"≥ 3.0.0, < 3.2.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.2.10","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7","label":"huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7","hostname":"huntr.dev","tags":["X Refsource CONFIRM","REPORT","WEB","Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d","label":"github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-2596","label":"ubuntu.com/security/CVE-2022-2596","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7/","label":"huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7/","hostname":"huntr.dev","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2596","label":"www.cve.org/CVERecord?id=CVE-2022-2596","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2596","label":"nvd.nist.gov/vuln/detail/CVE-2022-2596","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/node-fetch/node-fetch/pull/1611","label":"github.com/node-fetch/node-fetch/pull/1611","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/node-fetch/node-fetch","label":"github.com/node-fetch/node-fetch","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10","label":"github.com/node-fetch/node-fetch/releases/tag/v3.2.10","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-08-01T14:13:20.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-07T18:54:27.545Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T19:21:10.690Z","stale":false,"partial":false}}