fix(deps): update dependency gatsby to v4 [security]#421
Conversation
|
There was a problem hiding this comment.
Pull request overview
This Renovate security PR attempts to address CVE-2023-34238 by upgrading the project’s Gatsby dependency to a patched release on the v4 line.
Changes:
- Bump
gatsbyfrom2.32.13to4.25.7inpackage.json.
Comments suppressed due to low confidence (1)
package.json:65
- Upgrading
gatsbyto v4 while keeping Gatsby plugins on v2 (e.g.gatsby-plugin-sharpis still 2.14.4) introduces incompatible peer dependencies (the current lockfile showsgatsby-plugin-sharp@2.14.4requiresgatsby: ^2.0.0). Either upgrade the Gatsby plugin ecosystem to versions compatible with Gatsby 4 (and migrate off deprecated packages likegatsby-imageif needed), or keep Gatsby on the v2 line and apply a backported security patch (if available).
"gatsby": "4.25.7",
"gatsby-image": "2.11.0",
"gatsby-plugin-canonical-urls": "2.10.0",
"gatsby-plugin-layout": "1.10.0",
"gatsby-plugin-manifest": "2.12.1",
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "clsx": "1.1.1", | ||
| "gatsby": "2.32.13", | ||
| "gatsby": "4.25.7", | ||
| "gatsby-image": "2.11.0", |
There was a problem hiding this comment.
Agreed that the lockfile is stale on the Renovate branch. I am not regenerating it as a package-only bump because moving gatsby from 2.x to 4.x requires a coordinated migration of the Gatsby plugin family, build/runtime behavior, and compatibility testing.
Leaving this blocked for a dedicated Gatsby major migration rather than merging the PR as-is.
529e878 to
941430b
Compare
|
Blocked in oldest-PR triage: Gatsby 2 -> 4 is a major migration, not a safe isolated package bump. This needs coordinated plugin upgrades (including #413) and build/runtime verification before merge. |
This PR contains the following updates:
2.32.13→4.25.7Gatsby develop server has Local File Inclusion vulnerability
CVE-2023-34238 / GHSA-c6f8-8r25-c4gc
More information
Details
Impact
The Gatsby framework prior to versions 4.25.7 and 5.9.1 contain a Local File Inclusion vulnerability in the
__file-code-frameand__original-stack-framepaths, exposed when running the Gatsby develop server (gatsby develop).The following steps can be used to reproduce the vulnerability:
It should be noted that by default
gatsby developis only accessible via the localhost127.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 theGATSBY_HOST=0.0.0.0environment variable.Patches
A patch has been introduced in
gatsby@5.9.1andgatsby@4.25.7which mitigates the issue.Workarounds
As stated above, by default
gatsby developis only exposed to the localhost127.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-frameissue to our attention.For more information
Email us at security@gatsbyjs.com.
Severity
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
gatsbyjs/gatsby (gatsby)
v4.25.7Compare Source
v4.25.6Compare Source
v4.25.5Compare Source
v4.25.4Compare Source
v4.25.3Compare Source
v4.25.2Compare Source
v4.25.1Compare Source
v4.25.0Compare Source
v4.24.8Compare Source
v4.24.7Compare Source
v4.24.6Compare Source
v4.24.5Compare Source
v4.24.4Compare Source
v4.24.3Compare Source
v4.24.2Compare Source
v4.24.1Compare Source
v4.24.0: v4.24Compare Source
Welcome to
gatsby@4.24.0release (September 2022 #2)Key highlights of this release:
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v4.23.1Compare Source
v4.23.0: v4.23Compare Source
Welcome to
gatsby@4.23.0release (September 2022 #1)Key highlights of this release:
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v4.22.1Compare Source
v4.22.0: v4.22Compare Source
Welcome to
gatsby@4.22.0release (August 2022 #3)Key highlights of this release:
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v4.21.1Compare Source
v4.21.0: v4.21Compare Source
Welcome to
gatsby@4.21.0release (August 2022 #2)Key highlights of this release:
gatsby-plugin-mdxv4Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v4.20.0: v4.20Compare Source
Welcome to
gatsby@4.20.0release (August 2022 #1)Key highlights of this release:
sortand aggregation fields in Gatsby GraphQL SchemaBleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v4.19.2Compare Source
v4.19.1Compare Source
v4.19.0: v4.19Compare Source
Welcome to
gatsby@4.19.0release (July 2022 #2)Key highlights of this release:
react-helmetBleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v4.18.2Compare Source
v4.18.1Compare Source
v4.18.0: v4.18Compare Source
Welcome to
gatsby@4.18.0release (July 2022 #1)Key highlights of this release:
typesOutputPathoption for GraphQL Typegen - Configure the location of the generated TypeScript typesgatsby developBleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v4.17.2Compare Source
v4.17.1Compare Source
v4.17.0: v4.17Compare Source
Welcome to
gatsby@4.17.0release (June 2022 #2)Key highlights of this release:
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v4.16.0: v4.16Compare Source
Welcome to
gatsby@4.16.0release (June 2022 #1)Key highlights of this release:
useContentfulImagehookAlso check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v4.15.2Compare Source
v4.15.1Compare Source
v4.15.0: v4.15Compare Source
Welcome to
gatsby@4.15.0release (May 2022 #2)Key highlights of this release:
Also check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
[Full changelog][full-changelog]
v4.14.1Compare Source
v4.14.0: v4.14Compare Source
Welcome to
gatsby@4.14.0release (May 2022 #1)Key highlights of this release:
gatsby-source-drupal: Image CDN SupportAlso check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v4.13.1Compare Source
v4.13.0: v4.13Compare Source
Welcome to
gatsby@4.13.0release (April 2022 #2)Key highlights of this release:
Also check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v4.12.1Compare Source
v4.12.0: v4.12Compare Source
Welcome to
gatsby@4.12.0release (April 2022 #1)Key highlights of this release:
Also check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v4.11.3Compare Source
v4.11.2Compare Source
v4.11.1Compare Source
v4.11.0: v4.11Compare Source
Welcome to
gatsby@4.11.0release (March 2022 #3)Key highlights of this release:
gatsby-source-shopifyv7Also check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v4.10.3Compare Source
v4.10.2Compare Source
v4.10.1Compare Source
v4.10.0: v4.10Compare Source
Welcome to
gatsby@4.10.0release (March 2022 #2)Key highlights of this release:
Also check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v4.9.3Compare Source
v4.9.2Compare Source
v4.9.1Compare Source
v4.9.0: v4.9Compare Source
Welcome to
gatsby@4.9.0release (March 2022 #1)Key highlights of this release:
gatsby-configandgatsby-nodeAlso check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us know if you have any issues.Previous release notes
Full changelog
v4.8.2Compare Source
v4.8.1Compare Source
v4.8.0: v4.8Compare Source
Welcome to
gatsby@4.8.0release (February 2022 #2)Key highlights of this release:
gatsby-browserandgatsby-ssrgatsby-core-utilsandgatsby-plugin-utilsAlso check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v4.7.2Compare Source
v4.7.1Compare Source
v4.7.0: v4.7Compare Source
Welcome to
gatsby@4.7.0release (February 2022 #1)Key highlights of this release:
trailingSlashOption - Now built into the Framework itselfcreatePages- Speed improvements of at least 30%Also check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v4.6.2Compare Source
v4.6.1Compare Source
v4.6.0: v4.6Compare Source
Welcome to
gatsby@4.6.0release (January 2022 #2)Key highlights of this release:
gatsby-plugin-utilsAlso check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v4.5.5Compare Source
v4.5.4Compare Source
v4.5.3Compare Source
v4.5.2Compare Source
v4.5.1Compare Source
v4.5.0: v4.5Compare Source
Welcome to
gatsby@4.5.0release (January 2022 #1)Key highlights of this release:
getServerDatagatsby-recipesAlso check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v4.4.0: v4.4Compare Source
Welcome to
gatsby@4.4.0release (December 2021 #1)Key highlights of this release:
Also check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v4.3.0: v4.3Compare Source
Welcome to
gatsby@4.3.0release (November 2021 #3)Key highlights of this release:
Also check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v4.2.0: v4.2Compare Source
Welcome to
gatsby@4.2.0release (November 2021 #2).Key highlights of this release:
gatsby-source-contentfulv7getServerDataimprovementsAlso check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v4.1.6Compare Source
v4.1.5Compare Source
v4.1.4Compare Source
v4.1.3Compare Source
v4.1.2Compare Source
v4.1.1Compare Source
v4.1.0: v4.1Compare Source
Welcome to
gatsby@4.1.0release (November 2021 #1).Key highlights of this release:
gatsby-config.jsAlso check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v4.0.2Compare Source
v4.0.1Compare Source
v4.0.0: v4.0.0Compare Source
Welcome to
gatsby@4.0.0release (October 2021 #1).We've released Gatsby 3 in March 2021 and now have a lot of exciting new features for Gatsby 4!
We’ve tried to make migration smooth. Please refer to the migration guide
and let us know if you encounter any issues when migrating.
Key highlights of this release:
Also check out notable bugfixes and improvements.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes for 3.14
Full changelog
v3.15.0Compare Source
v3.14.6Compare Source
v3.14.5Compare Source
v3.14.4Compare Source
v3.14.3Compare Source
v3.14.2Compare Source
v3.14.1Compare Source
v3.14.0: v3.14 (September 2021 #1)Compare Source
Welcome to
gatsby@3.14.0release (September 2021 #1)Key highlights of this release:
createPagessnippet in GraphiQL and new GraphQL capabilitygatsby-source-drupalgatsby-plugin-netlifyAlso, check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v3.13.1Compare Source
v3.13.0: v3.13 (August 2021 #3)Compare Source
Welcome to
gatsby@3.13.0release (August 2021 #3)Key highlights of this release:
sharpv0.29 - Reduced install size, improved encoding time, and improved AVIF image qualitygatsby-source-drupal- Speed up fetching data by around 4xAlso check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v3.12.1Compare Source
v3.12.0: v3.12 (August 2021 #2)Compare Source
Welcome to
gatsby@3.12.0release (August 2021 #2)Key highlights of this release:
webpackdev server caching - opt-in 20% of usersgatsby-source-shopify- Add compat for breaking change in Shopify's APIgatsby-source-wordpress- Support for generating WebP images in HTML fieldsAlso check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v3.11.1Compare Source
v3.11.0: v3.11 (August 2021 #1)Compare Source
Welcome to
gatsby@3.11.0release (August 2021 #1)Key highlights of this release:
Also check out notable bugfixes.
Bleeding Edge: Want to try new features as soon as possible? Install
gatsby@nextand let us knowif you have any issues.
Previous release notes
Full changelog
v3.10.2Compare Source
v3.10.1Compare Source
v3.10.0: v3.10 (July 2021 #2)[Compare Source](https://redirect.github.com/gatsbyjs/gatsby/comp
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.