CVE-2022-2596
mediumpriority · track · 24EPSS 0.013 · 71 %ileEUUSEPSS · scored 2026-10-27
Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- node-fetch project node-fetch3.0.0 → 3.2.10nvdUScpe:2.3:a:node-fetch_project:node-fetch:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-vp56-6g26-6827node-fetch Inefficient Regular Expression Complexity 2022-08-02ghsa · osvUS
[node-fetch](https://www.npmjs.com/package/node-fetch) is a light-weight module that brings window.fetch to node.js. Affected 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'`.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-2596cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-2596/cnnvd
- https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3dcnnvd
- https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.5790cnnvd
- https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3denisa_euvd
- https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7enisa_euvd
- https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3dPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan