CVE-2022-2596
MEDIUM 5.9CVSS 3.1node-fetch Inefficient Regular Expression Complexity
Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.
- Published
- 1 Aug 2022
- Last modified
- 7 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-vp56-6g26-6827
- Sources
- NVDJSONOSV GHSA-vp56-6g26-6827JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | node-fetch_project | node-fetchcpe:2.3:a:node-fetch_project:node-fetch:*:*:*:*:*:node.js:*:* |
>= 3.0.0, < 3.2.10 | 3.2.10 |
| OSV | npm | node-fetch | >= 3.0.0, < 3.2.10 | 3.2.10 |
References
- https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-2596 · ADVISORY
- https://github.com/node-fetch/node-fetch/pull/1611 · WEB
- https://github.com/node-fetch/node-fetch · PACKAGE
- https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 Aug 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Aug 2022)