-
Notifications
You must be signed in to change notification settings - Fork 33
Update dependency gatsby-transformer-remark to v5 [SECURITY] #227
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
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/npm-gatsby-transformer-remark-vulnerability
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update dependency gatsby-transformer-remark to v5 [SECURITY] #227
renovate
wants to merge
1
commit into
master
from
renovate/npm-gatsby-transformer-remark-vulnerability
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
|
a479849 to
3e61e54
Compare
3e61e54 to
4185a95
Compare
4185a95 to
9b48d05
Compare
9b48d05 to
0e563cd
Compare
0e563cd to
69486ae
Compare
69486ae to
a63f4f5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^1.7.7→^5.0.0GitHub Vulnerability Alerts
CVE-2023-22491
Impact
The gatsby-transformer-remark plugin prior to versions 5.25.1 and 6.3.2 passes input through to the
gray-matternpm package, which is vulnerable to JavaScript injection in its default configuration, unless input is sanitized. The vulnerability is present in gatsby-transformer-remark when passing input in data mode (querying MarkdownRemark nodes via GraphQL). Injected JavaScript executes in the context of the build server.To exploit this vulnerability untrusted/unsanitized input would need to be sourced by or added into a file processed by gatsby-transformer-remark. The following payload demonstrates a vulnerable configuration:
Patches
A patch has been introduced in
gatsby-transformer-remark@5.25.1andgatsby-transformer-remark@6.3.2which mitigates the issue by disabling thegray-matterJavaScript Frontmatter engine. The patch introduces a new option,JSFrontmatterEnginewhich is set tofalseby default. When settingJSFrontmatterEnginetotrue, input passed togatsby-plugin-mdxmust be sanitized before processing to avoid a security risk. Warnings are displayed when enablingJSFrontmatterEnginetotrueor if it appears that the MarkdownRemark input is attempting to use the Frontmatter engine.Workarounds
If an older version of
gatsby-transformer-remarkmust be used, input passed into the plugin should be sanitized ahead of processing.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.
For more information
Email us at security@gatsbyjs.com.
Release Notes
gatsbyjs/gatsby (gatsby-transformer-remark)
v5.25.1Compare Source
v5.25.0Compare Source
v5.24.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.23.1 (2022-09-22)
Note: Version bump only for package gatsby-transformer-remark
v5.23.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.23.1 (2022-09-22)
Note: Version bump only for package gatsby-transformer-remark
v5.23.0Compare Source
🧾 Release notes
Chores
v5.22.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v5.21.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v5.20.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v5.19.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.18.1 (2022-07-12)
Note: Version bump only for package gatsby-transformer-remark
v5.18.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.18.1 (2022-07-12)
Note: Version bump only for package gatsby-transformer-remark
v5.18.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v5.17.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v5.16.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.15.1 (2022-06-01)
Note: Version bump only for package gatsby-transformer-remark
v5.15.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.15.1 (2022-06-01)
Note: Version bump only for package gatsby-transformer-remark
v5.15.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v5.14.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v5.13.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.12.1 (2022-04-13)
Note: Version bump only for package gatsby-transformer-remark
v5.12.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.12.1 (2022-04-13)
Note: Version bump only for package gatsby-transformer-remark
v5.12.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.11.1 (2022-03-31)
Note: Version bump only for package gatsby-transformer-remark
v5.11.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.11.1 (2022-03-31)
Note: Version bump only for package gatsby-transformer-remark
v5.11.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.10.2 (2022-03-23)
Note: Version bump only for package gatsby-transformer-remark
5.10.1 (2022-03-18)
Note: Version bump only for package gatsby-transformer-remark
v5.10.2Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.10.2 (2022-03-23)
Note: Version bump only for package gatsby-transformer-remark
5.10.1 (2022-03-18)
Note: Version bump only for package gatsby-transformer-remark
v5.10.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.10.2 (2022-03-23)
Note: Version bump only for package gatsby-transformer-remark
5.10.1 (2022-03-18)
Note: Version bump only for package gatsby-transformer-remark
v5.10.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.9.1 (2022-03-09)
Note: Version bump only for package gatsby-transformer-remark
v5.9.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
5.9.1 (2022-03-09)
Note: Version bump only for package gatsby-transformer-remark
v5.9.0Compare Source
🧾 Release notes
Chores
5.8.2 (2022-03-01)
Note: Version bump only for package gatsby-transformer-remark
5.8.1 (2022-02-25)
Note: Version bump only for package gatsby-transformer-remark
v5.8.2Compare Source
🧾 Release notes
Chores
5.8.2 (2022-03-01)
Note: Version bump only for package gatsby-transformer-remark
5.8.1 (2022-02-25)
Note: Version bump only for package gatsby-transformer-remark
v5.8.1Compare Source
🧾 Release notes
Chores
5.8.2 (2022-03-01)
Note: Version bump only for package gatsby-transformer-remark
5.8.1 (2022-02-25)
Note: Version bump only for package gatsby-transformer-remark
v5.8.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v5.7.0Compare Source
🧾 Release notes
Bug Fixes
v5.6.0Compare Source
🧾 Release notes
Bug Fixes
5.5.2 (2022-01-17)
Note: Version bump only for package gatsby-transformer-remark
5.5.1 (2022-01-12)
Note: Version bump only for package gatsby-transformer-remark
v5.5.2Compare Source
🧾 Release notes
Bug Fixes
5.5.2 (2022-01-17)
Note: Version bump only for package gatsby-transformer-remark
5.5.1 (2022-01-12)
Note: Version bump only for package gatsby-transformer-remark
v5.5.1Compare Source
🧾 Release notes
Bug Fixes
5.5.2 (2022-01-17)
Note: Version bump only for package gatsby-transformer-remark
5.5.1 (2022-01-12)
Note: Version bump only for package gatsby-transformer-remark
v5.5.0Compare Source
🧾 Release notes
Chores
v5.4.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v5.3.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v5.2.0Compare Source
🧾 Release notes
Bug Fixes
5.1.4 (2021-11-15)
Note: Version bump only for package gatsby-transformer-remark
5.1.3 (2021-11-11)
Note: Version bump only for package gatsby-transformer-remark
5.1.2 (2021-11-10)
Note: Version bump only for package gatsby-transformer-remark
5.1.1 (2021-11-09)
Bug Fixes
v5.1.4Compare Source
🧾 Release notes
Bug Fixes
5.1.4 (2021-11-15)
Note: Version bump only for package gatsby-transformer-remark
5.1.3 (2021-11-11)
Note: Version bump only for package gatsby-transformer-remark
5.1.2 (2021-11-10)
Note: Version bump only for package gatsby-transformer-remark
5.1.1 (2021-11-09)
Bug Fixes
v5.1.3Compare Source
🧾 Release notes
Bug Fixes
5.1.4 (2021-11-15)
Note: Version bump only for package gatsby-transformer-remark
5.1.3 (2021-11-11)
Note: Version bump only for package gatsby-transformer-remark
5.1.2 (2021-11-10)
Note: Version bump only for package gatsby-transformer-remark
5.1.1 (2021-11-09)
Bug Fixes
v5.1.2Compare Source
🧾 Release notes
Bug Fixes
5.1.4 (2021-11-15)
Note: Version bump only for package gatsby-transformer-remark
5.1.3 (2021-11-11)
Note: Version bump only for package gatsby-transformer-remark
5.1.2 (2021-11-10)
Note: Version bump only for package gatsby-transformer-remark
5.1.1 (2021-11-09)
Bug Fixes
v5.1.1Compare Source
🧾 Release notes
Bug Fixes
5.1.4 (2021-11-15)
Note: Version bump only for package gatsby-transformer-remark
5.1.3 (2021-11-11)
Note: Version bump only for package gatsby-transformer-remark
5.1.2 (2021-11-10)
Note: Version bump only for package gatsby-transformer-remark
5.1.1 (2021-11-09)
Bug Fixes
v5.1.0Compare Source
🧾 Release notes
Bug Fixes
v5.0.0Compare Source
🧾 Release notes
Features
Chores
Other Changes
v4.12.0Compare Source
v4.11.0Compare Source
🧾 Release notes
Features
Chores
Other Changes
v4.10.0Compare Source
🧾 Release notes
Chores
v4.9.0Compare Source
🧾 Release notes
Chores
v4.8.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v4.7.0Compare Source
🧾 Release notes
Chores
v4.6.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v4.5.0Compare Source
🧾 Release notes
Chores
4.4.1 (2021-06-10)
Chores
v4.4.1Compare Source
🧾 Release notes
Chores
4.4.1 (2021-06-10)
Chores
v4.4.0Compare Source
🧾 Release notes
Chores
v4.3.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v4.2.0Compare Source
🧾 Release notes
Bug Fixes
v4.1.0Compare Source
🧾 Release notes
Bug Fixes
v4.0.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v3.2.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v3.1.0Compare Source
🧾 Release notes
Bug Fixes
Refactoring
Chores
v3.0.0Compare Source
🧾 Release notes
Features
Other Changes
2.16.1 (2021-02-24)
Note: Version bump only for package gatsby-transformer-remark
v2.16.1Compare Source
🧾 Release notes
Features
Other Changes
2.16.1 (2021-02-24)
Note: Version bump only for package gatsby-transformer-remark
v2.16.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v2.15.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
v2.14.0Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
2.13.1 (2020-12-23)
Note: Version bump only for package gatsby-transformer-remark
v2.13.1Compare Source
🧾 Release notes
Note: Version bump only for package gatsby-transformer-remark
2.13.1 (2020-12-23)
Note: Version bump only for package gatsby-transformer-remark
v2.13.0Compare Source
🧾 Release notes
Chores
v2.12.0Compare Source
🧾 Release notes
Bug Fixes
getNodesByType()is passed through #28218 (7867897)2.11.1 (2020-11-25)
Bug Fixes
getNodesByType()is passed through #28218 #28261 (63e189d)v2.11.1Compare Source
🧾 Release notes
Bug Fixes
getNodesByType()is passed through #28218 (7867897)2.11.1 (2020-11-25)
Bug Fixes
getNodesByType()is passed through #28218 #28261 (63e189d)v2.11.0Compare Source
🧾 Release notes
Bug Fixes
v2.10.0Compare Source
🧾 Release notes
Bug Fixes
v2.9.2Compare Source
v2.9.1Compare Source
Bug Fixes
v2.9.0Compare Source
Features
2.8.47 (2020-10-28)
Note: Version bump only for package gatsby-transformer-remark
2.8.46 (2020-10-22)
Note: Version bump only for package gatsby-transformer-remark
2.8.45 (2020-10-21)
Bug Fixes
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.
This PR was generated by Mend Renovate. View the repository job log.