Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency gatsby to v5.9.1 [security] #482

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 19, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
gatsby (source, changelog) 5.4.2 -> 5.9.1 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2023-34238

Impact

The Gatsby framework prior to versions 4.25.7 and 5.9.1 contain a Local File Inclusion vulnerability in the __file-code-frame and __original-stack-frame paths, exposed when running the Gatsby develop server (gatsby develop).

The following steps can be used to reproduce the vulnerability:


# Create a new Gatsby project
$ npm init gatsby
$ cd my-gatsby-site

# Start the Gatsby develop server
$ gatsby develop

# Execute the Local File Inclusion vulnerability in __file-code-frame
$ curl "http://127.0.0.1:8000/__file-code-frame?filePath=/etc/passwd&lineNumber=1"

# Execute the Local File Inclusion vulnerability in __original-stack-frame
$ curl "http://127.0.0.1:8000/__original-stack-frame?moduleId=/etc/hosts&lineNumber=1&skipSourceMap=1"

It should be noted that 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.

Patches

A patch has been introduced in gatsby@5.9.1 and gatsby@4.25.7 which mitigates the issue.

Workarounds

As stated above, by default gatsby develop is only exposed to the localhost 127.0.0.1. For those using the develop server in the default configuration no risk is posed. If other ranges are required, preventing the develop server from being exposed to untrusted interfaces or IP address ranges would mitigate the risk from this vulnerability.

We encourage projects to upgrade to the latest major release branch for all Gatsby plugins to ensure the latest security updates and bug fixes are received in a timely manner.

Credits

We would like to thank Maxwell Garrett of Assetnote for bringing the __file-code-frame issue to our attention.

For more information

Email us at security@gatsbyjs.com.


Release Notes

gatsbyjs/gatsby (gatsby)

v5.9.1

Compare Source

v5.9.0

Compare Source

v5.8.1

Compare Source

v5.8.0

Compare Source

v5.7.0: v5.7.0

Compare Source

Welcome to gatsby@5.7.0 release (February 2023 #2)

This release focused on bug fixes and perf improvements. Check out notable bugfixes and improvements.

Bleeding Edge: Want to try new features as soon as possible? Install gatsby@next and let us know if you have any issues.

Previous release notes

Full changelog

v5.6.1

Compare Source

v5.6.0: v5.6.0

Compare Source

Welcome to gatsby@5.6.0 release (February 2023 #1)

Key highlights of this release:

Bleeding Edge: Want to try new features as soon as possible? Install gatsby@next and let us know if you have any issues.

Previous release notes

Full changelog

v5.5.0

Compare Source


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner June 19, 2023 01:22
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 19, 2023
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from 59bd63c to 15677c4 Compare June 29, 2023 12:14
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from 15677c4 to c87020e Compare July 6, 2023 15:57
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-tkayqc July 6, 2023 15:57 Inactive
@github-actions
Copy link

github-actions bot commented Jul 6, 2023

Link Check Report

There were no links to check!

@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from c87020e to 7834b59 Compare July 9, 2023 11:06
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-eny8rr July 9, 2023 11:06 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from 7834b59 to 91315a7 Compare July 16, 2023 14:21
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-g3mmwv July 16, 2023 14:21 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from 91315a7 to 5894e25 Compare July 19, 2023 09:48
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-l8p7nn July 19, 2023 09:48 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from 5894e25 to b496c30 Compare July 27, 2023 20:09
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-3jei3v July 27, 2023 20:09 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from b496c30 to b32bd91 Compare August 1, 2023 15:21
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-2aito2 August 1, 2023 15:21 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from b32bd91 to 124be0f Compare August 9, 2023 12:10
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-mljknr August 9, 2023 12:10 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from 124be0f to e35d79b Compare August 22, 2023 17:40
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-mbnsor August 22, 2023 17:40 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from e35d79b to 9151c56 Compare August 27, 2023 11:48
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-tfomnt August 27, 2023 11:48 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from 9151c56 to b1d042a Compare September 11, 2023 02:10
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-yzgfzr September 11, 2023 02:11 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from b1d042a to a702c2a Compare September 19, 2023 12:31
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-wbkmpj September 19, 2023 12:32 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from a702c2a to d1db90a Compare September 26, 2023 15:45
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-y7k96c September 26, 2023 15:46 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from d1db90a to c1b2bd4 Compare September 28, 2023 14:48
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-mv01bj October 20, 2023 10:49 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from 370ce29 to fd1f882 Compare October 23, 2023 16:01
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-kaqjoq October 23, 2023 16:02 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from fd1f882 to 39e5bda Compare November 6, 2023 08:53
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-o6qqcw November 6, 2023 08:54 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from 39e5bda to 68c62c1 Compare November 16, 2023 08:04
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from 68c62c1 to 30a9f3d Compare December 3, 2023 12:27
@shcheklein shcheklein temporarily deployed to cml-dev-renovate-npm-ga-onugev December 3, 2023 12:27 Inactive
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch 2 times, most recently from a6324f5 to c45d7ae Compare February 4, 2024 10:57
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from c45d7ae to 00f07d5 Compare February 25, 2024 09:08
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch 2 times, most recently from cbf1c35 to 356f655 Compare March 12, 2024 10:34
@renovate renovate bot enabled auto-merge (squash) March 20, 2024 14:18
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch 2 times, most recently from 007f5fc to 815fecb Compare March 24, 2024 17:03
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch 2 times, most recently from 2a70a34 to e60a2e4 Compare April 21, 2024 08:23
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from e60a2e4 to 54e3660 Compare April 25, 2024 08:09
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from 54e3660 to 00f11fe Compare June 4, 2024 10:42
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch 2 times, most recently from c9fda35 to 7eb54ce Compare July 23, 2024 13:54
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch 2 times, most recently from 4d000b8 to d5da202 Compare August 10, 2024 06:00
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from d5da202 to f707157 Compare August 14, 2024 19:27
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from f707157 to b259a0a Compare August 28, 2024 06:40
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from b259a0a to 74f956b Compare October 9, 2024 10:38
@renovate renovate bot force-pushed the renovate/npm-gatsby-vulnerability branch from 74f956b to 592d212 Compare October 16, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file pass-ci
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants