node-fetch Inefficient Regular Expression Complexity
[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'`.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2022-2596US | medium5.9 | — | ||
Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10. | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/node-fetch/node-fetchPACKAGE
- https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3dWEB
- https://github.com/node-fetch/node-fetch/pull/1611WEB
- https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10WEB
- https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-2596ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan