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

[Snyk] Upgrade gatsby from 5.0.0 to 5.14.0 #988

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

Conversation

X-oss-byte
Copy link
Owner

@X-oss-byte X-oss-byte commented Jan 3, 2025

snyk-top-banner

Snyk has created this PR to upgrade gatsby from 5.0.0 to 5.14.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 146 versions ahead of your current version.

  • The recommended version was released 2 months ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Denial of Service (DoS)
SNYK-JS-ENGINEIO-3136336
589 No Known Exploit
high severity Improper Handling of Extra Parameters
SNYK-JS-FOLLOWREDIRECTS-6141137
589 Proof of Concept
high severity Prototype Pollution
SNYK-JS-LOADERUTILS-3043105
589 No Known Exploit
high severity Uncaught Exception
SNYK-JS-SOCKETIO-7278048
589 No Known Exploit
high severity Denial of Service (DoS)
SNYK-JS-SOCKETIOPARSER-5596892
589 No Known Exploit
high severity Sandbox Bypass
SNYK-JS-WEBPACK-3358798
589 Proof of Concept
high severity Path Traversal
SNYK-JS-WEBPACKDEVMIDDLEWARE-6476555
589 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-WS-7266574
589 Proof of Concept
medium severity Information Exposure
SNYK-JS-FOLLOWREDIRECTS-6444610
589 Proof of Concept
medium severity Information Exposure
SNYK-JS-GATSBY-5671647
589 Proof of Concept
medium severity Improper Input Validation
SNYK-JS-POSTCSS-5926692
589 No Known Exploit
critical severity Incomplete List of Disallowed Inputs
SNYK-JS-BABELTRAVERSE-5962462
589 Proof of Concept
medium severity Improper Input Validation
SNYK-JS-NANOID-8492085
589 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SIDEWAYFORMULA-3317169
589 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-UAPARSERJS-3244450
589 Proof of Concept
medium severity Information Exposure
SNYK-JS-GATSBYCLI-5671903
589 Proof of Concept
medium severity Denial of Service (DoS)
SNYK-JS-GRAPHQL-5905181
589 Proof of Concept
medium severity Cross-site Scripting (XSS)
SNYK-JS-WEBPACK-7840298
589 Proof of Concept
medium severity Prototype Pollution
SNYK-JS-JSON5-3182856
589 Proof of Concept
medium severity Prototype Pollution
SNYK-JS-JSON5-3182856
589 Proof of Concept
Release notes
Package name: gatsby
  • 5.14.0 - 2024-11-06
  • 5.14.0-next.4 - 2024-02-20
  • 5.14.0-next.3 - 2024-01-23
  • 5.14.0-next.2 - 2024-01-05
  • 5.14.0-next.1 - 2024-01-04
  • 5.14.0-next.0 - 2023-12-15
  • 5.14.0-ctf-next.0 - 2024-03-08
  • 5.14.0-canary.7 - 2024-02-16
  • 5.14.0-alpha-ssr-writestream.3 - 2024-01-25
  • 5.14.0-alpha-monorepo-support.17 - 2024-06-04
  • 5.14.0-alpha-headers-perf.16 - 2024-05-24
  • 5.14.0-alpha-gatsby.9 - 2024-04-29
  • 5.14.0-alpha-gatsby.6 - 2024-04-26
  • 5.14.0-alpha-fix-ssr-linkfs.5 - 2023-12-21
  • 5.14.0-alpha-fix-parcel-segfault.11 - 2024-01-02
  • 5.13.7 - 2024-07-12
  • 5.13.6 - 2024-05-29
  • 5.13.5 - 2024-05-17
  • 5.13.4 - 2024-04-10
  • 5.13.3 - 2024-01-25
  • 5.13.2 - 2024-01-23
  • 5.13.1 - 2023-12-22
  • 5.13.0 - 2023-12-18
  • 5.13.0-next.3 - 2023-12-04
  • 5.13.0-next.2 - 2023-11-16
  • 5.13.0-next.1 - 2023-08-22
  • 5.13.0-next.0 - 2023-07-25
  • 5.13.0-alpha-fix-pnpm.21 - 2023-12-20
  • 5.13.0-alpha-fix-pnpm.17 - 2023-12-15
  • 5.13.0-alpha-fix-pnpm.16 - 2023-12-14
  • 5.13.0-alpha-alt-image-cdn.38 - 2023-11-03
  • 5.12.12 - 2023-12-07
  • 5.12.11 - 2023-11-22
  • 5.12.10 - 2023-11-21
  • 5.12.9 - 2023-10-26
  • 5.12.8 - 2023-10-20
  • 5.12.7 - 2023-10-17
  • 5.12.6 - 2023-10-09
  • 5.12.5 - 2023-09-27
  • 5.12.4 - 2023-09-05
  • 5.12.3 - 2023-08-28
  • 5.12.2 - 2023-08-28
  • 5.12.1 - 2023-08-24
  • 5.12.0 - 2023-08-24
  • 5.12.0-next.1 - 2023-07-03
  • 5.12.0-next.0 - 2023-06-15
  • 5.11.1-canary-less-lmdb.0 - 2024-12-20
  • 5.11.0 - 2023-06-15
  • 5.11.0-touch-nodes-fix.4 - 2023-06-14
  • 5.11.0-next.1 - 2023-06-05
  • 5.11.0-next.0 - 2023-05-16
  • 5.10.0 - 2023-05-16
  • 5.10.0-next.4 - 2023-05-03
  • 5.10.0-next.3 - 2023-04-27
  • 5.10.0-next.2 - 2023-04-27
  • 5.10.0-next.1 - 2023-04-19
  • 5.10.0-next.0 - 2023-04-18
  • 5.10.0-infer-block-less.13 - 2023-05-09
  • 5.10.0-infer-block-less.12 - 2023-05-09
  • 5.10.0-infer-block-less.11 - 2023-05-08
  • 5.10.0-infer-block-less.8 - 2023-05-08
  • 5.10.0-infer-block-less.7 - 2023-05-05
  • 5.10.0-infer-block-less.6 - 2023-05-05
  • 5.10.0-infer-block-less.5 - 2023-05-05
  • 5.10.0-gatsby-gc.20 - 2023-05-16
  • 5.10.0-gatsby-gc.19 - 2023-05-16
  • 5.10.0-gatsby-gc.18 - 2023-05-16
  • 5.10.0-gatsby-gc.17 - 2023-05-15
  • 5.10.0-gatsby-gc.16 - 2023-05-15
  • 5.10.0-gatsby-gc.15 - 2023-05-15
  • 5.10.0-gatsby-gc.14 - 2023-05-15
  • 5.10.0-alpha-adapters.165 - 2023-07-14
  • 5.10.0-alpha-adapters.164 - 2023-07-13
  • 5.10.0-alpha-adapters.159 - 2023-07-12
  • 5.10.0-alpha-adapters.158 - 2023-07-12
  • 5.10.0-alpha-adapters.156 - 2023-07-11
  • 5.10.0-alpha-adapters.155 - 2023-07-11
  • 5.10.0-alpha-adapters.153 - 2023-07-11
  • 5.10.0-alpha-adapters.142 - 2023-07-04
  • 5.10.0-alpha-adapters.141 - 2023-07-03
  • 5.10.0-alpha-adapters.130 - 2023-06-30
  • 5.10.0-alpha-adapters.96 - 2023-06-14
  • 5.10.0-alpha-adapters.94 - 2023-06-14
  • 5.10.0-alpha-adapters.89 - 2023-06-14
  • 5.9.1 - 2023-05-09
  • 5.9.0 - 2023-04-18
  • 5.9.0-touch-nodes-optout.49 - 2023-04-12
  • 5.9.0-reduce-contentful-mem-usage.39 - 2023-04-17
  • 5.9.0-reduce-contentful-mem-usage.38 - 2023-04-17
  • 5.9.0-reduce-contentful-mem-usage.36 - 2023-04-17
  • 5.9.0-next.3 - 2023-04-06
  • 5.9.0-next.2 - 2023-03-30
  • 5.9.0-next.1 - 2023-03-28
  • 5.9.0-next.0 - 2023-03-21
  • 5.9.0-lmdb-remapchunks.41 - 2023-04-20
  • 5.9.0-lmdb-remapchunks.40 - 2023-04-20
  • 5.9.0-image-cdn-configurable.4 - 2023-04-11
  • 5.9.0-alpha-cg-tailwind.23 - 2023-05-09
  • 5.8.1 - 2023-03-29
  • 5.8.0 - 2023-03-21
  • 5.8.0-touchnodes-memdebug2.19 - 2023-03-23
  • 5.8.0-touchnodes-memdebug2.17 - 2023-03-22
  • 5.8.0-touchnodes-memdebug.17 - 2023-03-21
  • 5.8.0-next.3 - 2023-03-14
  • 5.8.0-next.2 - 2023-03-07
  • 5.8.0-next.1 - 2023-02-22
  • 5.8.0-next.0 - 2023-02-16
  • 5.8.0-inference-memdebug.26 - 2023-03-23
  • 5.8.0-inference-memdebug.22 - 2023-03-23
  • 5.8.0-alpha-rspack.4 - 2023-03-10
  • 5.8.0-alpha-react-profiling-env.8 - 2023-03-17
  • 5.7.0 - 2023-02-21
  • 5.7.0-next.1 - 2023-02-08
  • 5.7.0-next.0 - 2023-02-03
  • 5.6.1 - 2023-02-16
  • 5.6.0 - 2023-02-07
  • 5.6.0-next.2 - 2023-01-30
  • 5.6.0-next.1 - 2023-01-26
  • 5.6.0-next.0 - 2023-01-19
  • 5.5.0 - 2023-01-24
  • 5.5.0-next.1 - 2023-01-17
  • 5.5.0-next.0 - 2023-01-05
  • 5.5.0-alpha-initial-webhook-body.31 - 2023-01-16
  • 5.5.0-alpha-initial-webhook-body.30 - 2023-01-16
  • 5.4.2 - 2023-01-17
  • 5.4.1 - 2023-01-13
  • 5.4.0 - 2023-01-10
  • 5.4.0-next.3 - 2023-01-04
  • 5.4.0-next.2 - 2022-12-14
  • 5.4.0-next.1 - 2022-12-14
  • 5.4.0-next.0 - 2022-12-08
  • 5.3.3 - 2022-12-20
  • 5.3.2 - 2022-12-14
  • 5.3.1 - 2022-12-14
  • 5.3.0 - 2022-12-13
  • 5.3.0-next.4 - 2022-12-07
  • 5.3.0-next.3 - 2022-12-07
  • 5.3.0-next.2 - 2022-12-06
  • 5.3.0-next.1 - 2022-12-01
  • 5.3.0-next.0 - 2022-11-25
  • 5.2.0 - 2022-11-25
  • 5.2.0-next.1 - 2022-11-23
  • 5.2.0-next.0 - 2022-11-17
  • 5.1.0 - 2022-11-22
  • 5.1.0-next.0 - 2022-11-08
  • 5.0.1 - 2022-11-10
  • 5.0.0 - 2022-11-08
from gatsby GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Summary by Sourcery

Upgrade Gatsby from 5.0.0 to 5.14.0 to fix security vulnerabilities.

Bug Fixes:

  • Fix a critical severity Incomplete List of Disallowed Inputs vulnerability (SNYK-JS-BABELTRAVERSE-5962462).
  • Fix high severity vulnerabilities including Denial of Service (DoS) (SNYK-JS-ENGINEIO-3136336, SNYK-JS-SOCKETIO-7278048, SNYK-JS-SOCKETIOPARSER-5596892, SNYK-JS-WS-7266574), Improper Handling of Extra Parameters (SNYK-JS-FOLLOWREDIRECTS-6141137), Prototype Pollution (SNYK-JS-LOADERUTILS-3043105), Sandbox Bypass (SNYK-JS-WEBPACK-3358798), and Path Traversal (SNYK-JS-WEBPACKDEVMIDDLEWARE-6476555).
  • Fix medium severity vulnerabilities including Information Exposure (SNYK-JS-FOLLOWREDIRECTS-6444610, SNYK-JS-GATSBY-5671647, SNYK-JS-GATSBYCLI-5671903), Improper Input Validation (SNYK-JS-POSTCSS-5926692, SNYK-JS-NANOID-8492085), Regular Expression Denial of Service (ReDoS) (SNYK-JS-SIDEWAYFORMULA-3317169, SNYK-JS-UAPARSERJS-3244450), Prototype Pollution (SNYK-JS-JSON5-3182856), Cross-site Scripting (XSS) (SNYK-JS-WEBPACK-7840298), and Denial of Service (DoS) (SNYK-JS-GRAPHQL-5905181).

Snyk has created this PR to upgrade gatsby from 5.0.0 to 5.14.0.

See this package in npm:
gatsby

See this project in Snyk:
https://app.snyk.io/org/sammytezzy/project/20794044-5f49-41de-a492-223de49c2642?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

stackblitz bot commented Jan 3, 2025

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

sourcery-ai bot commented Jan 3, 2025

Reviewer's Guide by Sourcery

This pull request upgrades Gatsby from version 5.0.0 to 5.14.0. This upgrade fixes several high and medium severity vulnerabilities, including Denial of Service (DoS), Improper Handling of Extra Parameters, Prototype Pollution, Uncaught Exception, Sandbox Bypass, Path Traversal, Information Exposure, Improper Input Validation, Incomplete List of Disallowed Inputs, Regular Expression Denial of Service (ReDoS), and Cross-site Scripting (XSS).

State diagram of security vulnerability fixes in Gatsby 5.14.0

stateDiagram-v2
    state "Gatsby 5.0.0" as old
    state "Gatsby 5.14.0" as new

    [*] --> old
    old --> new

    state old {
        [*] --> Vulnerable
        Vulnerable --> DoS_Risk
        Vulnerable --> XSS_Risk
        Vulnerable --> Prototype_Pollution
    }

    state new {
        [*] --> Protected
        Protected --> DoS_Fixed
        Protected --> XSS_Fixed
        Protected --> Security_Enhanced

        state Security_Enhanced {
            Fixed_Parameters
            Fixed_Input_Validation
            Fixed_Sandbox
        }
    }
Loading

File-Level Changes

Change Details Files
Upgrade gatsby package
  • Updated the Gatsby dependency from version 5.0.0 to 5.14.0 in package.json.
  • Updated package-lock.json to reflect the changes in package.json and include the updated dependency tree for Gatsby 5.14.0 and its dependencies.
starters/gatsby-starter-wordpress-blog/package.json
starters/gatsby-starter-wordpress-blog/package-lock.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants