Vulnerabilities

1 via 8 paths

Dependencies

218

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: frontity@1.17.1, @frontity/router@1.3.0 and others

Detailed paths

  • Introduced through: @frontity/components@1.5.1 frontity@1.17.1 node-fetch@2.6.2
  • Introduced through: @frontity/components@1.5.1 @frontity/router@1.3.0 frontity@1.17.1 node-fetch@2.6.2
  • Introduced through: @frontity/components@1.5.1 @frontity/source@1.5.2 frontity@1.17.1 node-fetch@2.6.2
  • Introduced through: @frontity/components@1.5.1 @frontity/hooks@2.2.2 frontity@1.17.1 node-fetch@2.6.2
  • Introduced through: @frontity/components@1.5.1 @frontity/hooks@2.2.2 @frontity/router@1.3.0 frontity@1.17.1 node-fetch@2.6.2
  • Introduced through: @frontity/components@1.5.1 @frontity/hooks@2.2.2 @frontity/source@1.5.2 frontity@1.17.1 node-fetch@2.6.2
  • Introduced through: @frontity/components@1.5.1 @frontity/hooks@2.2.2 @frontity/wp-source@1.11.7 frontity@1.17.1 node-fetch@2.6.2
  • Introduced through: @frontity/components@1.5.1 @frontity/hooks@2.2.2 @frontity/wp-source@1.11.7 @frontity/source@1.5.2 frontity@1.17.1 node-fetch@2.6.2

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 2.6.7, 3.1.1 or higher.

References