Vulnerabilities

1 via 4 paths

Dependencies

299

Source

npm

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

medium severity
new

Information Exposure

  • Vulnerable module: node-fetch
  • Introduced through: @apiglobal/typedrequest@1.0.65 and @pushrocks/smartsocket@1.2.8

Detailed paths

  • Introduced through: @shipzone/npmci@3.1.82 @apiglobal/typedrequest@1.0.65 @pushrocks/webrequest@2.0.13 node-fetch@2.6.7
  • Introduced through: @shipzone/npmci@3.1.82 @pushrocks/smartsocket@1.2.8 @pushrocks/smartexpress@3.0.108 @apiglobal/typedrequest@1.0.65 @pushrocks/webrequest@2.0.13 node-fetch@2.6.7
  • Introduced through: @shipzone/npmci@3.1.82 @pushrocks/smartsocket@1.2.8 @pushrocks/smartexpress@3.0.108 @pushrocks/smartsitemap@1.0.14 @pushrocks/webrequest@2.0.13 node-fetch@2.6.7
  • Introduced through: @shipzone/npmci@3.1.82 @pushrocks/smartsocket@1.2.8 @pushrocks/smartexpress@3.0.108 @apiglobal/typedsocket@1.0.21 @apiglobal/typedrequest@1.0.65 @pushrocks/webrequest@2.0.13 node-fetch@2.6.7

Overview

node-fetch is 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.

Remediation

Upgrade node-fetch to version 3.1.1 or higher.

References