gatsby-cli@2.12.114-create-gatsby.46 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