Vulnerabilities

1 via 4 paths

Dependencies

77

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: google-gax@2.29.3

Detailed paths

  • Introduced through: @google-cloud/security-center@5.8.0 google-gax@2.29.3 node-fetch@2.6.7
  • Introduced through: @google-cloud/security-center@5.8.0 google-gax@2.29.3 google-auth-library@7.11.0 gaxios@4.3.2 node-fetch@2.6.7
  • Introduced through: @google-cloud/security-center@5.8.0 google-gax@2.29.3 google-auth-library@7.11.0 gcp-metadata@4.3.1 gaxios@4.3.2 node-fetch@2.6.7
  • Introduced through: @google-cloud/security-center@5.8.0 google-gax@2.29.3 google-auth-library@7.11.0 gtoken@5.3.1 gaxios@4.3.2 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