Update dependency gatsby-plugin-sharp to v4 [SECURITY] #387
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.3.5
->4.25.1
GitHub Vulnerability Alerts
CVE-2023-30548
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 develop
is 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.0
environment variable.Patches
A patch has been introduced in
[email protected]
and[email protected]
which mitigates the issue by ensuring that included paths remain within the project directory.Workarounds
As stated above, by default
gatsby develop
is 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 [email protected].
Release Notes
gatsbyjs/gatsby (gatsby-plugin-sharp)
v4.25.1
Compare Source
v4.25.0
Compare Source
v4.24.0
Compare 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.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.23.0
Compare Source
🧾 Release notes
Chores
v4.22.0
Compare Source
🧾 Release notes
Chores
v4.21.0
Compare Source
🧾 Release notes
Chores
got
#36366 (ab55e4e)v4.20.0
Compare Source
🧾 Release notes
Bug Fixes
BLURRED
placeholder #35914 (abad94f)v4.19.0
Compare Source
🧾 Release notes
Bug Fixes
4.18.1 (2022-07-12)
Note: Version bump only for package gatsby-plugin-sharp
v4.18.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.18.0
Compare Source
🧾 Release notes
Bug Fixes
v4.17.0
Compare 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.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.16.0
Compare Source
🧾 Release notes
Features
Performance Improvements
4.15.1 (2022-06-01)
Note: Version bump only for package gatsby-plugin-sharp
v4.15.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.15.0
Compare Source
🧾 Release notes
Chores
4.14.1 (2022-05-12)
Note: Version bump only for package gatsby-plugin-sharp
v4.14.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.14.0
Compare Source
🧾 Release notes
Bug Fixes
v4.13.0
Compare Source
🧾 Release notes
Features
4.12.1 (2022-04-13)
Note: Version bump only for package gatsby-plugin-sharp
v4.12.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.12.0
Compare Source
🧾 Release notes
Bug Fixes
Chores
4.11.1 (2022-03-31)
Bug Fixes
v4.11.1
Compare Source
Bug Fixes
v4.11.0
Compare 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.2
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.10.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.10.0
Compare Source
🧾 Release notes
Bug Fixes
probe-image-size
to fix memory leak warning fix #35009 (f98c9ba)4.9.1 (2022-03-09)
Note: Version bump only for package gatsby-plugin-sharp
v4.9.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.9.0
Compare 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.2
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.8.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.8.0
Compare Source
🧾 Release notes
Bug Fixes
v4.7.0
Compare Source
🧾 Release notes
Bug Fixes
v4.6.0
Compare 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.2
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.5.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.5.0
Compare Source
🧾 Release notes
Chores
v4.4.0
Compare Source
🧾 Release notes
Bug Fixes
Chores
v4.3.0
Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-sharp
v4.2.0
Compare 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.4
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.1.3
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.1.2
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.1.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v4.1.0
Compare Source
🧾 Release notes
Bug Fixes
4.0.1 (2021-10-27)
Bug Fixes
v4.0.1
Compare Source
Bug Fixes
v4.0.0
Compare Source
🧾 Release notes
Bug Fixes
Chores
sizeByPixelDensity
option #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.0
Compare Source
v3.14.3
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v3.14.2
Compare Source
Bug Fixes
v3.14.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v3.14.0
Compare Source
🧾 Release notes
Features
Bug Fixes
unstable_onPluginInit
#33062 (8901eb2)Chores
Other Changes
v3.13.0
Compare Source
🧾 Release notes
Features
Chores
v3.12.0
Compare Source
🧾 Release notes
Bug Fixes
Chores
v3.11.0
Compare Source
🧾 Release notes
Bug Fixes
3.10.2 (2021-07-21)
Bug Fixes
3.10.1 (2021-07-21)
Note: Version bump only for package gatsby-plugin-sharp
v3.10.2
Compare Source
Bug Fixes
v3.10.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v3.10.0
Compare Source
🧾 Release notes
Chores
v3.9.0
Compare Source
🧾 Release notes
Features
v3.8.0
Compare Source
🧾 Release notes
Chores
3.7.1 (2021-06-10)
Chores
v3.7.1
Compare Source
Chores
v3.7.0
Compare Source
🧾 Release notes
Chores
v3.6.0
Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-sharp
v3.5.0
Compare Source
🧾 Release notes
Bug Fixes
3.4.2 (2021-05-08)
Note: Version bump only for package gatsby-plugin-sharp
3.4.1 (2021-05-05)
Note: Version bump only for package gatsby-plugin-sharp
v3.4.2
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v3.4.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v3.4.0
Compare Source
🧾 Release notes
Bug Fixes
3.3.1 (2021-04-20)
Note: Version bump only for package gatsby-plugin-sharp
v3.3.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v3.3.0
Compare Source
🧾 Release notes
Chores
3.2.1 (2021-04-07)
Note: Version bump only for package gatsby-plugin-sharp
v3.2.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v3.2.0
Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-plugin-sharp
3.1.3 (2021-03-30)
Note: Version bump only for package gatsby-plugin-sharp
3.1.2 (2021-03-23)
Note: Version bump only for package gatsby-plugin-sharp
3.1.1 (2021-03-18)
Note: Version bump only for package gatsby-plugin-sharp
v3.1.3
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v3.1.2
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v3.1.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v3.1.0
Compare Source
🧾 Release notes
Bug Fixes
Chores
3.0.1 (2021-03-11)
Note: Version bump only for package gatsby-plugin-sharp
v3.0.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v3.0.0
Compare Source
🧾 Release notes
Features
Bug Fixes
Chores
Other Changes
2.14.4 (2021-05-04)
Note: Version bump only for package gatsby-plugin-sharp
2.14.3 (2021-02-25)
Other Changes
2.14.2 (2021-02-24)
Bug Fixes
2.14.1 (2021-02-05)
Note: Version bump only for package gatsby-plugin-sharp
v2.14.4
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v2.14.3
Compare Source
Other Changes
v2.14.2
Compare Source
Bug Fixes
v2.14.1
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v2.14.0
Compare Source
🧾 Release notes
Features
Bug Fixes
Chores
2.13.4 (2021-01-29)
Note: Version bump only for package gatsby-plugin-sharp
2.13.3 (2021-01-28)
Note: Version bump only for package gatsby-plugin-sharp
2.13.2 (2021-01-26)
Note: Version bump only for package gatsby-plugin-sharp
2.13.1 (2021-01-21)
Note: Version bump only for package gatsby-plugin-sharp
v2.13.4
Compare Source
Note: Version bump only for package gatsby-plugin-sharp
v2.13.3
[Compare Source](https://togithub.com/gatsbyjs/gatsby/compare
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 has been generated by Mend Renovate. View repository job log here.