gatsby-cli@1.0.7 vulnerabilities

Gatsby command-line interface for creating new sites and running Gatsby commands

Direct Vulnerabilities

Known vulnerabilities in the gatsby-cli 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

gatsby-cli is a Gatsby command-line interface for creating new sites and running Gatsby commands.

Affected versions of this package are vulnerable to Information Exposure via local file inclusion in __file-code-frame or __original-stack-frame, when gatsby develop is in use and exposed to the internet.

NOTE: By default gatsby develop is only accessible via the localhost 127.0.0.1, and one would need to intentionally expose the server to other interfaces to exploit this vulnerability by using server options such as --host 0.0.0.0, -H 0.0.0.0, or the GATSBY_HOST=0.0.0.0 environment variable.

How to fix Information Exposure?

Upgrade gatsby-cli to version 5.10.0 or higher.

<5.10.0
  • M
Resources Downloaded over Insecure Protocol

gatsby-cli is a command-line interface for creating new sites and running Gatsby commands.

Affected versions of the package are vulnerable to Resources Downloaded over Insecure Protocol due to downloading resources over an insecure protocol. It used the git:// protocol to clone repositories, which isn't safe as it is unencrypted. You can read more about Man-in-the-Middle (MitM) on our blog.

How to fix Resources Downloaded over Insecure Protocol?

Upgrade gatsby-cli to version 1.0.9 or higher.

<1.0.9