[Snyk] Fix for 19 vulnerabilities#5251
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MULTER-10185673 - https://snyk.io/vuln/SNYK-JS-MYSQL2-6591085 - https://snyk.io/vuln/SNYK-JS-MYSQL2-6670046 - https://snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884 - https://snyk.io/vuln/SNYK-JS-JSONPATHPLUS-8719585 - https://snyk.io/vuln/SNYK-JS-MYSQL2-6861580 - https://snyk.io/vuln/SNYK-JS-MULTER-10185675 - https://snyk.io/vuln/SNYK-JS-WS-7266574 - https://snyk.io/vuln/SNYK-JS-OCTOKITPLUGINPAGINATEREST-8730855 - https://snyk.io/vuln/SNYK-JS-OCTOKITREQUEST-8730853 - https://snyk.io/vuln/SNYK-JS-OCTOKITREQUESTERROR-8730854 - https://snyk.io/vuln/SNYK-JS-MYSQL2-6591084 - https://snyk.io/vuln/SNYK-JS-MYSQL2-6591300 - https://snyk.io/vuln/SNYK-JS-REQUEST-3361831 - https://snyk.io/vuln/SNYK-JS-TAR-6476909 - https://snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873 - https://snyk.io/vuln/SNYK-JS-FASTXMLPARSER-7573289 - https://snyk.io/vuln/SNYK-JS-AZUREIDENTITY-7246760 - https://snyk.io/vuln/SNYK-JS-JOSE-6419224
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 GuideThis PR replaces workspace-managed version constraints in plugins/scaffolder-backend/package.json with explicit version pins for key @backstage packages and bumps the octokit dependency to address 19 security vulnerabilities. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
| "@backstage/config": "0.1.1", | ||
| "@backstage/errors": "workspace:^", | ||
| "@backstage/integration": "workspace:^", | ||
| "@backstage/plugin-auth-node": "workspace:^", | ||
| "@backstage/plugin-catalog-backend": "workspace:^", | ||
| "@backstage/plugin-catalog-backend": "2.0.0", | ||
| "@backstage/plugin-catalog-common": "workspace:^", | ||
| "@backstage/plugin-catalog-node": "workspace:^", | ||
| "@backstage/plugin-permission-common": "workspace:^", | ||
| "@backstage/plugin-permission-node": "workspace:^", | ||
| "@backstage/plugin-scaffolder-common": "workspace:^", | ||
| "@backstage/plugin-scaffolder-common": "0.1.0", |
There was a problem hiding this comment.
Changing the workspace dependencies to fixed versions will break the monorepo structure. Backstage's architecture relies on workspace:^ references to ensure packages use their local versions during development.
The specified versions (0.1.1, 2.0.0, 0.1.0) appear significantly older than current Backstage versions, which will cause compatibility issues throughout the project. These dependencies should remain as workspace:^ references to maintain proper package resolution within the monorepo.
While fixing vulnerabilities is important, this approach will create more problems than it solves. Consider upgrading the vulnerable dependencies within the workspace structure instead.
| "@backstage/config": "0.1.1", | |
| "@backstage/errors": "workspace:^", | |
| "@backstage/integration": "workspace:^", | |
| "@backstage/plugin-auth-node": "workspace:^", | |
| "@backstage/plugin-catalog-backend": "workspace:^", | |
| "@backstage/plugin-catalog-backend": "2.0.0", | |
| "@backstage/plugin-catalog-common": "workspace:^", | |
| "@backstage/plugin-catalog-node": "workspace:^", | |
| "@backstage/plugin-permission-common": "workspace:^", | |
| "@backstage/plugin-permission-node": "workspace:^", | |
| "@backstage/plugin-scaffolder-common": "workspace:^", | |
| "@backstage/plugin-scaffolder-common": "0.1.0", | |
| "@backstage/config": "workspace:^", | |
| "@backstage/errors": "workspace:^", | |
| "@backstage/integration": "workspace:^", | |
| "@backstage/plugin-auth-node": "workspace:^", | |
| "@backstage/plugin-catalog-backend": "workspace:^", | |
| "@backstage/plugin-catalog-common": "workspace:^", | |
| "@backstage/plugin-catalog-node": "workspace:^", | |
| "@backstage/plugin-permission-common": "workspace:^", | |
| "@backstage/plugin-permission-node": "workspace:^", | |
| "@backstage/plugin-scaffolder-common": "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. |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. 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 19 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
plugins/scaffolder-backend/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-MULTER-10185673
SNYK-JS-MYSQL2-6591085
SNYK-JS-MYSQL2-6670046
SNYK-JS-JSONPATHPLUS-7945884
SNYK-JS-JSONPATHPLUS-8719585
SNYK-JS-MYSQL2-6861580
SNYK-JS-MULTER-10185675
SNYK-JS-WS-7266574
SNYK-JS-OCTOKITPLUGINPAGINATEREST-8730855
SNYK-JS-OCTOKITREQUEST-8730853
SNYK-JS-OCTOKITREQUESTERROR-8730854
SNYK-JS-MYSQL2-6591084
SNYK-JS-MYSQL2-6591300
SNYK-JS-REQUEST-3361831
SNYK-JS-TAR-6476909
SNYK-JS-TOUGHCOOKIE-5672873
SNYK-JS-FASTXMLPARSER-7573289
SNYK-JS-AZUREIDENTITY-7246760
SNYK-JS-JOSE-6419224
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:
🦉 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Remote Code Execution (RCE)
🦉 More lessons are available in Snyk Learn
Summary by Sourcery
Address security vulnerabilities in the scaffolder-backend plugin by upgrading key package dependencies.
Bug Fixes:
Enhancements: