Skip to content

node-fetch (npm)

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

Advisories
5
Latest version
3.3.2
Released Jul 25, 2023
License
MIT
OpenSSF Scorecard
4.9 / 10

How to fix

Upgrading to 3.2.10 or later clears every advisory below that has a fix.

Upgrade commands
npm
npm install node-fetch@3.3.2
yarn
yarn add node-fetch@3.3.2
pnpm
pnpm add node-fetch@3.3.2

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-vp56-6g26-6827
node-fetch Inefficient Regular Expression Complexity
Medium
EPSS 1.34%
>= 3.0.0, < 3.2.10
3.2.10
GHSA-r683-j2x4-v87g
node-fetch forwards secure headers to untrusted sites
Medium
EPSS 1.65%
>= 3.0.0, < 3.1.1
3.1.1
GHSA-r683-j2x4-v87g
node-fetch forwards secure headers to untrusted sites
Medium
EPSS 1.65%
< 2.6.7
2.6.7
GHSA-w7rc-rwvf-8q5r
The `size` option isn't honored after following a redirect in node-fetch
Low
EPSS 1.69%
>= 2.0.0, < 2.6.1
2.6.1
GHSA-w7rc-rwvf-8q5r
The `size` option isn't honored after following a redirect in node-fetch
Low
EPSS 1.69%
>= 3.0.0-beta.1, < 3.0.0-beta.9
3.0.0-beta.9

Source: git+https://github.com/node-fetch/node-fetch.git

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor