Vulnerability · Published Aug 1, 2022 · Assigned by @huntrdev
CVE-2022-2596Inefficient Regular Expression Complexity in node-fetch/node-fetch
Medium 5.9
In plain English
A medium-severity regular-expression denial of service in node-fetch/node-fetch from node-fetch. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)1.3%top 28.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | node-fetch | no fix listed | UBUNTU-CVE-2022-2596 |
| Ubuntu:24.04:LTS | node-fetch | no fix listed | UBUNTU-CVE-2022-2596 |
| Ubuntu:25.10 | node-fetch | no fix listed | UBUNTU-CVE-2022-2596 |
| Ubuntu:26.04:LTS | node-fetch | no fix listed | UBUNTU-CVE-2022-2596 |
| Ubuntu:26.10 | node-fetch | no fix listed | UBUNTU-CVE-2022-2596 |
| npm | node-fetch | 3.2.10 | GHSA-vp56-6g26-6827 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| node-fetch | node-fetch/node-fetch | 3.0.0 – before unspecified |
Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H