[Snyk] Fix for 11 vulnerabilities#4525
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230 - https://snyk.io/vuln/SNYK-JS-IP-6240864 - https://snyk.io/vuln/SNYK-JS-BRACES-6838727 - https://snyk.io/vuln/SNYK-JS-PATHTOREGEXP-7925106 - https://snyk.io/vuln/SNYK-JS-IP-7148531 - https://snyk.io/vuln/SNYK-JS-TAR-6476909 - https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116 - https://snyk.io/vuln/SNYK-JS-ADOBECSSTOOLS-6096077 - https://snyk.io/vuln/SNYK-JS-GRAPHQL-5905181 - https://snyk.io/vuln/SNYK-JS-COOKIE-8163060 - https://snyk.io/vuln/SNYK-JS-ADOBECSSTOOLS-5871286
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
No applications have been configured for previews targeting branch: master. To do so go to restack console and configure your applications for previews. |
Reviewer's Guide by SourceryThis pull request upgrades several dependencies in No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot (hey, snyk-io[bot]!). We assume it knows what it's doing!
- It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
| "@backstage/catalog-model": "0.1.1", | ||
| "@backstage/cli-common": "workspace:^", | ||
| "@backstage/cli-node": "workspace:^", | ||
| "@backstage/config": "workspace:^", | ||
| "@backstage/config-loader": "workspace:^", | ||
| "@backstage/config-loader": "0.1.1", | ||
| "@backstage/errors": "workspace:^", | ||
| "@backstage/eslint-plugin": "workspace:^", | ||
| "@backstage/integration": "workspace:^", | ||
| "@backstage/release-manifests": "workspace:^", | ||
| "@backstage/release-manifests": "0.0.1", |
There was a problem hiding this comment.
This PR replaces workspace references (workspace:^) with specific version numbers, which breaks the monorepo's local development workflow. In a Backstage monorepo, these workspace references ensure that local package versions are used during development.
Instead of pinning to specific (and outdated) versions like 0.1.1, the vulnerabilities should be addressed by updating the dependencies within the referenced packages themselves while maintaining the workspace references.
The warning about failing to update the yarn.lock file also indicates this approach isn't working correctly. A better solution would be to update the vulnerable dependencies in their source packages while preserving the workspace:^ references in this file.
| "@backstage/catalog-model": "0.1.1", | |
| "@backstage/cli-common": "workspace:^", | |
| "@backstage/cli-node": "workspace:^", | |
| "@backstage/config": "workspace:^", | |
| "@backstage/config-loader": "workspace:^", | |
| "@backstage/config-loader": "0.1.1", | |
| "@backstage/errors": "workspace:^", | |
| "@backstage/eslint-plugin": "workspace:^", | |
| "@backstage/integration": "workspace:^", | |
| "@backstage/release-manifests": "workspace:^", | |
| "@backstage/release-manifests": "0.0.1", | |
| "@backstage/catalog-model": "workspace:^", | |
| "@backstage/cli-common": "workspace:^", | |
| "@backstage/cli-node": "workspace:^", | |
| "@backstage/config": "workspace:^", | |
| "@backstage/config-loader": "workspace:^", | |
| "@backstage/errors": "workspace:^", | |
| "@backstage/eslint-plugin": "workspace:^", | |
| "@backstage/integration": "workspace:^", | |
| "@backstage/release-manifests": "workspace:^", |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub ↗. |
|
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
Snyk has created this PR to fix 11 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
packages/cli/package.jsonNote for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the
.yarn/cache/directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-IP-6240864
SNYK-JS-BRACES-6838727
SNYK-JS-PATHTOREGEXP-7925106
SNYK-JS-IP-7148531
SNYK-JS-TAR-6476909
SNYK-JS-INFLIGHT-6095116
SNYK-JS-ADOBECSSTOOLS-6096077
SNYK-JS-GRAPHQL-5905181
SNYK-JS-COOKIE-8163060
SNYK-JS-ADOBECSSTOOLS-5871286
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Cross-site Scripting (XSS)
🦉 Server-side Request Forgery (SSRF)
Summary by Sourcery
Update package dependencies to resolve multiple security vulnerabilities
Bug Fixes:
Enhancements: