node-fetch@3.2.4 vulnerabilities

A light-weight module that brings Fetch API to node.js

Direct Vulnerabilities

Known vulnerabilities in the node-fetch package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Regular Expression Denial of Service (ReDoS)

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'.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade node-fetch to version 3.2.10 or higher.

>=3.1.0 <3.2.10