fix(deps): update dependency gatsby-plugin-sharp to v4 [security]#413
fix(deps): update dependency gatsby-plugin-sharp to v4 [security]#413renovate[bot] wants to merge 1 commit into
Conversation
|
❌ Deploy preview failed at Netlify. @jimmyandrade take a look please
|
f004c40 to
1cf513f
Compare
1cf513f to
ae3b0bb
Compare
ae3b0bb to
cbd935b
Compare
e3826a1 to
cbd935b
Compare
cbd935b to
e3826a1
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
There was a problem hiding this comment.
Pull request overview
This PR updates the site’s Gatsby image-processing dependency (gatsby-plugin-sharp) to a patched release that addresses a reported path traversal vulnerability in gatsby develop.
Changes:
- Bumps
gatsby-plugin-sharpfrom2.6.43to4.25.1inpackage.json. - Targets the security fix referenced in GHSA-h2pm-378c-pcxx / CVE-2023-30548.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "gatsby-plugin-prefetch-google-fonts": "1.4.3", | ||
| "gatsby-plugin-react-helmet": "3.3.14", | ||
| "gatsby-plugin-sharp": "2.6.43", | ||
| "gatsby-plugin-sharp": "4.25.1", |
There was a problem hiding this comment.
Agreed. I am not applying this package-only bump as-is: gatsby-plugin-sharp@4.x belongs to the Gatsby 4 plugin family while this repo is still on Gatsby 2.x. This needs to be handled together with the Gatsby major upgrade path (see #421), not as an isolated plugin bump.
| "gatsby-plugin-prefetch-google-fonts": "1.4.3", | ||
| "gatsby-plugin-react-helmet": "3.3.14", | ||
| "gatsby-plugin-sharp": "2.6.43", | ||
| "gatsby-plugin-sharp": "4.25.1", |
There was a problem hiding this comment.
Agreed. The lockfile is stale on the original Renovate branch. I am leaving this blocked rather than regenerating a lockfile for an incompatible Gatsby 4 plugin against the current Gatsby 2 stack.
|
Blocked in oldest-PR triage: |
This PR contains the following updates:
2.6.43→4.25.1Path traversal vulnerability in gatsby-plugin-sharp
CVE-2023-30548 / GHSA-h2pm-378c-pcxx
More information
Details
Impact
The gatsby-plugin-sharp plugin prior to versions 5.8.1 and 4.25.1 contains a path traversal vulnerability 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-plugin-sharp@5.8.1andgatsby-plugin-sharp@4.25.1which mitigates the issue by ensuring that included paths remain within the project directory.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 Patrick Rombouts and Bart Veneman [drukwerkdeal.nl] for bringing the issue 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-plugin-sharp)
v4.25.1Compare Source
v4.25.0Compare Source
v4.24.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-sharp
4.23.1 (2022-09-22)
Note: Version bump only for package gatsby-plugin-sharp
v4.23.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-sharp
4.23.1 (2022-09-22)
Note: Version bump only for package gatsby-plugin-sharp
v4.23.0Compare Source
🧾 Release notes
Chores
v4.22.0Compare Source
🧾 Release notes
Chores
v4.21.0Compare Source
🧾 Release notes
Chores
got#36366 (ab55e4e)v4.20.0Compare Source
🧾 Release notes
Bug Fixes
BLURREDplaceholder #35914 (abad94f)v4.19.0Compare Source
🧾 Release notes
Bug Fixes
4.18.1 (2022-07-12)
Note: Version bump only for package gatsby-plugin-sharp
v4.18.1Compare Source
🧾 Release notes
Bug Fixes
4.18.1 (2022-07-12)
Note: Version bump only for package gatsby-plugin-sharp
v4.18.0Compare Source
🧾 Release notes
Bug Fixes
v4.17.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-sharp
4.16.1 (2022-06-08)
Note: Version bump only for package gatsby-plugin-sharp
v4.16.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-sharp
4.16.1 (2022-06-08)
Note: Version bump only for package gatsby-plugin-sharp
v4.16.0Compare Source
🧾 Release notes
Features
Performance Improvements
4.15.1 (2022-06-01)
Note: Version bump only for package gatsby-plugin-sharp
v4.15.1Compare Source
🧾 Release notes
Features
Performance Improvements
4.15.1 (2022-06-01)
Note: Version bump only for package gatsby-plugin-sharp
v4.15.0Compare Source
🧾 Release notes
Chores
4.14.1 (2022-05-12)
Note: Version bump only for package gatsby-plugin-sharp
v4.14.1Compare Source
🧾 Release notes
Chores
4.14.1 (2022-05-12)
Note: Version bump only for package gatsby-plugin-sharp
v4.14.0Compare Source
🧾 Release notes
Bug Fixes
v4.13.0Compare Source
🧾 Release notes
Features
4.12.1 (2022-04-13)
Note: Version bump only for package gatsby-plugin-sharp
v4.12.1Compare Source
🧾 Release notes
Features
4.12.1 (2022-04-13)
Note: Version bump only for package gatsby-plugin-sharp
v4.12.0Compare Source
🧾 Release notes
Bug Fixes
Chores
4.11.1 (2022-03-31)
Bug Fixes
v4.11.1Compare Source
🧾 Release notes
Bug Fixes
Chores
4.11.1 (2022-03-31)
Bug Fixes
v4.11.0Compare Source
🧾 Release notes
Refactoring
4.10.2 (2022-03-23)
Note: Version bump only for package gatsby-plugin-sharp
4.10.1 (2022-03-18)
Note: Version bump only for package gatsby-plugin-sharp
v4.10.2Compare Source
🧾 Release notes
Refactoring
4.10.2 (2022-03-23)
Note: Version bump only for package gatsby-plugin-sharp
4.10.1 (2022-03-18)
Note: Version bump only for package gatsby-plugin-sharp
v4.10.1Compare Source
🧾 Release notes
Refactoring
4.10.2 (2022-03-23)
Note: Version bump only for package gatsby-plugin-sharp
4.10.1 (2022-03-18)
Note: Version bump only for package gatsby-plugin-sharp
v4.10.0Compare Source
🧾 Release notes
Bug Fixes
probe-image-sizeto fix memory leak warning fix #35009 (f98c9ba)4.9.1 (2022-03-09)
Note: Version bump only for package gatsby-plugin-sharp
v4.9.1Compare Source
🧾 Release notes
Bug Fixes
probe-image-sizeto fix memory leak warning fix #35009 (f98c9ba)4.9.1 (2022-03-09)
Note: Version bump only for package gatsby-plugin-sharp
v4.9.0Compare Source
🧾 Release notes
Chores
4.8.2 (2022-03-01)
Note: Version bump only for package gatsby-plugin-sharp
4.8.1 (2022-02-25)
Note: Version bump only for package gatsby-plugin-sharp
v4.8.2Compare Source
🧾 Release notes
Chores
4.8.2 (2022-03-01)
Note: Version bump only for package gatsby-plugin-sharp
4.8.1 (2022-02-25)
Note: Version bump only for package gatsby-plugin-sharp
v4.8.1Compare Source
🧾 Release notes
Chores
4.8.2 (2022-03-01)
Note: Version bump only for package gatsby-plugin-sharp
4.8.1 (2022-02-25)
Note: Version bump only for package gatsby-plugin-sharp
v4.8.0Compare Source
🧾 Release notes
Bug Fixes
v4.7.0Compare Source
🧾 Release notes
Bug Fixes
v4.6.0Compare Source
🧾 Release notes
Bug Fixes
4.5.2 (2022-01-17)
Note: Version bump only for package gatsby-plugin-sharp
4.5.1 (2022-01-12)
Note: Version bump only for package gatsby-plugin-sharp
v4.5.2Compare Source
🧾 Release notes
Bug Fixes
4.5.2 (2022-01-17)
Note: Version bump only for package gatsby-plugin-sharp
4.5.1 (2022-01-12)
Note: Version bump only for package gatsby-plugin-sharp
v4.5.1Compare Source
🧾 Release notes
Bug Fixes
4.5.2 (2022-01-17)
Note: Version bump only for package gatsby-plugin-sharp
4.5.1 (2022-01-12)
Note: Version bump only for package gatsby-plugin-sharp
v4.5.0Compare Source
🧾 Release notes
Chores
v4.4.0Compare Source
🧾 Release notes
Bug Fixes
Chores
v4.3.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-sharp
v4.2.0Compare Source
🧾 Release notes
Bug Fixes
4.1.4 (2021-11-15)
Note: Version bump only for package gatsby-plugin-sharp
4.1.3 (2021-11-11)
Note: Version bump only for package gatsby-plugin-sharp
4.1.2 (2021-11-10)
Note: Version bump only for package gatsby-plugin-sharp
4.1.1 (2021-11-09)
Note: Version bump only for package gatsby-plugin-sharp
v4.1.4Compare Source
🧾 Release notes
Bug Fixes
4.1.4 (2021-11-15)
Note: Version bump only for package gatsby-plugin-sharp
4.1.3 (2021-11-11)
Note: Version bump only for package gatsby-plugin-sharp
4.1.2 (2021-11-10)
Note: Version bump only for package gatsby-plugin-sharp
4.1.1 (2021-11-09)
Note: Version bump only for package gatsby-plugin-sharp
v4.1.3Compare Source
🧾 Release notes
Bug Fixes
4.1.4 (2021-11-15)
Note: Version bump only for package gatsby-plugin-sharp
4.1.3 (2021-11-11)
Note: Version bump only for package gatsby-plugin-sharp
4.1.2 (2021-11-10)
Note: Version bump only for package gatsby-plugin-sharp
4.1.1 (2021-11-09)
Note: Version bump only for package gatsby-plugin-sharp
v4.1.2Compare Source
🧾 Release notes
Bug Fixes
4.1.4 (2021-11-15)
Note: Version bump only for package gatsby-plugin-sharp
4.1.3 (2021-11-11)
Note: Version bump only for package gatsby-plugin-sharp
4.1.2 (2021-11-10)
Note: Version bump only for package gatsby-plugin-sharp
4.1.1 (2021-11-09)
Note: Version bump only for package gatsby-plugin-sharp
v4.1.1Compare Source
🧾 Release notes
Bug Fixes
4.1.4 (2021-11-15)
Note: Version bump only for package gatsby-plugin-sharp
4.1.3 (2021-11-11)
Note: Version bump only for package gatsby-plugin-sharp
4.1.2 (2021-11-10)
Note: Version bump only for package gatsby-plugin-sharp
4.1.1 (2021-11-09)
Note: Version bump only for package gatsby-plugin-sharp
v4.1.0Compare Source
🧾 Release notes
Bug Fixes
4.0.1 (2021-10-27)
Bug Fixes
v4.0.1Compare Source
🧾 Release notes
Bug Fixes
4.0.1 (2021-10-27)
Bug Fixes
v4.0.0Compare Source
🧾 Release notes
Bug Fixes
Chores
sizeByPixelDensityoption #33468 (d467372)3.14.3 (2021-11-02)
Note: Version bump only for package gatsby-plugin-sharp
3.14.2 (2021-10-28)
Bug Fixes
3.14.1 (2021-10-06)
Note: Version bump only for package gatsby-plugin-sharp
v3.15.0Compare Source
v3.14.3Compare Source
🧾 Release notes
Bug Fixes
Chores
sizeByPixelDensityoption #33468 (d467372)3.14.3 (2021-11-02)
Note: Version bump only for package gatsby-plugin-sharp
3.14.2 (2021-10-28)
Bug Fixes
3.14.1 (2021-10-06)
Note: Version bump only for package gatsby-plugin-sharp
v3.14.2Compare Source
🧾 Release notes
Bug Fixes
Chores
sizeByPixelDensityoption #33468 (d467372)3.14.3 (2021-11-02)
Note: Version bump only for package gatsby-plugin-sharp
3.14.2 (2021-10-28)
Bug Fixes
3.14.1 (2021-10-06)
Note: Version bump only for package gatsby-plugin-sharp
v3.14.1Compare Source
🧾 Release notes
Bug Fixes
Chores
sizeByPixelDensityoption #33468 (d467372)3.14.3 (2021-11-02)
Note: Version bump only for package gatsby-plugin-sharp
3.14.2 (2021-10-28)
Bug Fixes
3.14.1 (2021-10-06)
Note: Version bump only for package gatsby-plugin-sharp
v3.14.0Compare Source
🧾 Release notes
Features
Bug Fixes
unstable_onPluginInit#33062 (8901eb2)Chores
Other Changes
v3.13.0Compare Source
🧾 Release notes
Features
Chores
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.