org.webjars.npm:node-fetch@2.6.0 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.webjars.npm: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
  • M
Information Exposure

org.webjars.npm:node-fetch is an A light-weight module that brings window.fetch to node.js

Affected versions of this package are vulnerable to Information Exposure when fetching a remote url with Cookie, if it get a Location response header, it will follow that url and try to fetch that url with provided cookie. This can lead to forwarding secure headers to 3th party.

How to fix Information Exposure?

Upgrade org.webjars.npm:node-fetch to version 2.6.7, 3.3.0 or higher.

[,2.6.7) [3.0.0,3.3.0)
  • M
Denial of Service

org.webjars.npm:node-fetch is an A light-weight module that brings window.fetch to node.js

Affected versions of this package are vulnerable to Denial of Service. Node Fetch did not honor the size option after following a redirect, which means that when a content size was over the limit, a FetchError would never get thrown and the process would end without failure.

How to fix Denial of Service?

Upgrade org.webjars.npm:node-fetch to version 3.0.0-beta.9, 2.6.1 or higher.

[3.0.0-beta.4,3.0.0-beta.9) [,2.6.1)