[Snyk] Fix for 18 vulnerabilities#5243
Conversation
…lnerabilities 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-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 GuideUpdates the OpenAPI catalog-backend module’s package.json to pin specific @backstage dependencies at patched versions instead of workspace references, remediating 18 security vulnerabilities. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
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.
|
🎉 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/integration": "workspace:^", | ||
| "@backstage/plugin-catalog-backend": "workspace:^", | ||
| "@backstage/plugin-catalog-common": "workspace:^", | ||
| "@backstage/plugin-catalog-backend": "2.0.0", | ||
| "@backstage/plugin-catalog-common": "0.1.0", |
There was a problem hiding this comment.
Replacing workspace:^ references with pinned versions (0.1.1, 2.0.0, 0.1.0) could introduce compatibility issues with other packages in the monorepo. These specific versions appear significantly older than what would be current in the workspace.
A more sustainable approach would be to address the vulnerabilities at their source within the workspace dependencies rather than pinning to older versions. This maintains the workspace reference pattern while still resolving the security concerns.
Consider:
- Updating the vulnerable dependencies in their source packages
- Using dependency overrides if specific packages need patching
- Maintaining the
workspace:^references to ensure consistent versioning across the monorepo
This approach would resolve the security issues while preserving the monorepo's dependency management strategy.
| "@backstage/config": "0.1.1", | |
| "@backstage/integration": "workspace:^", | |
| "@backstage/plugin-catalog-backend": "workspace:^", | |
| "@backstage/plugin-catalog-common": "workspace:^", | |
| "@backstage/plugin-catalog-backend": "2.0.0", | |
| "@backstage/plugin-catalog-common": "0.1.0", | |
| + "@backstage/config": "workspace:^", | |
| "@backstage/integration": "workspace:^", | |
| + "@backstage/plugin-catalog-backend": "workspace:^", | |
| + "@backstage/plugin-catalog-common": "workspace:^", |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
|
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 18 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
plugins/catalog-backend-module-openapi/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-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
Upgrade backstage dependencies in the catalog-backend-module-openapi plugin to fixed versions to remediate multiple security vulnerabilities.
Bug Fixes:
Enhancements: