Vulnerabilities

1 via 2 paths

Dependencies

78

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: node-fetch@2.6.7 and gifencoder@2.0.1

Detailed paths

  • Introduced through: @canvacord/beta@6.0.0-dev-3 node-fetch@2.6.7
    Remediation: Upgrade to node-fetch@3.1.1.
  • Introduced through: @canvacord/beta@6.0.0-dev-3 gifencoder@2.0.1 canvas@2.9.0 @mapbox/node-pre-gyp@1.0.8 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