node-fetch
Affected
- introduced
3.0.0, fixed3.2.10(semver)
Fixed versions
3.2.10
Fix
- Fixed version
3.2.10npm install [email protected]
Advisory
Also known as: CVE-2022-2596
node-fetch Inefficient Regular Expression Complexity
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'.
Medium Basis: The source's own band: MODERATE
3.0.0, fixed 3.2.10 (semver)3.2.10
3.2.10npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0