[Snyk] Fix for 41 vulnerabilities#4520
Conversation
…nerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BABELTRAVERSE-5962462 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8187303 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-7577916 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-7577917 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-7577918 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8720086 - https://snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230 - https://snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWARE-8229906 - https://snyk.io/vuln/SNYK-JS-IP-6240864 - https://snyk.io/vuln/SNYK-JS-TARFS-9535930 - https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908 - https://snyk.io/vuln/SNYK-JS-BRACES-6838727 - https://snyk.io/vuln/SNYK-JS-SEMVER-3247795 - https://snyk.io/vuln/SNYK-JS-WS-7266574 - https://snyk.io/vuln/SNYK-JS-WEBPACKDEVMIDDLEWARE-6476555 - https://snyk.io/vuln/SNYK-JS-FOLLOWREDIRECTS-6141137 - https://snyk.io/vuln/SNYK-JS-BABELHELPERS-9397697 - https://snyk.io/vuln/SNYK-JS-OCTOKITREQUEST-8730853 - https://snyk.io/vuln/SNYK-JS-PATHTOREGEXP-7925106 - https://snyk.io/vuln/SNYK-JS-PATHTOREGEXP-8482416 - https://snyk.io/vuln/SNYK-JS-FOLLOWREDIRECTS-6444610 - https://snyk.io/vuln/SNYK-JS-IP-7148531 - https://snyk.io/vuln/SNYK-JS-TAR-6476909 - https://snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873 - https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8172694 - https://snyk.io/vuln/SNYK-JS-SERIALIZEJAVASCRIPT-6147607 - https://snyk.io/vuln/SNYK-JS-BODYPARSER-7926860 - https://snyk.io/vuln/SNYK-JS-WEBPACK-7840298 - https://snyk.io/vuln/SNYK-JS-BROWSERIFYSIGN-6037026 - https://snyk.io/vuln/SNYK-JS-MICROMATCH-6838728 - https://snyk.io/vuln/SNYK-JS-GRAPHQL-5905181 - https://snyk.io/vuln/SNYK-JS-COOKIE-8163060 - https://snyk.io/vuln/SNYK-JS-NANOID-8492085 - https://snyk.io/vuln/SNYK-JS-NWSAPI-2841516 - https://snyk.io/vuln/SNYK-JS-EXPRESS-6474509 - https://snyk.io/vuln/SNYK-JS-POSTCSS-5926692 - https://snyk.io/vuln/SNYK-JS-EXPRESS-7926867 - https://snyk.io/vuln/SNYK-JS-PRISMJS-9055448 - https://snyk.io/vuln/SNYK-JS-SEND-7926862 - https://snyk.io/vuln/SNYK-JS-SERVESTATIC-7926865
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 multiple dependencies in Updated class diagram for package.json dependenciesclassDiagram
class PackageJson {
dependencies
}
PackageJson --|> BackendTasks
PackageJson --|> PluginCatalogCommon
PackageJson --|> PluginSearchBackendNode
PackageJson --|> PluginSearchCommon
class BackendTasks {
-version: string = "workspace:^"
+version: string = "0.6.1"
}
note for BackendTasks "Dependency version upgraded from workspace:^ to 0.6.1"
class PluginCatalogCommon {
-version: string = "workspace:^"
+version: string = "0.1.0"
}
note for PluginCatalogCommon "Dependency version upgraded from workspace:^ to 0.1.0"
class PluginSearchBackendNode {
-version: string = "workspace:^"
+version: string = "0.1.2"
}
note for PluginSearchBackendNode "Dependency version upgraded from workspace:^ to 0.1.2"
class PluginSearchCommon {
-version: string = "workspace:^"
+version: string = "0.3.1"
}
note for PluginSearchCommon "Dependency version upgraded from workspace:^ to 0.3.1"
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/backend-tasks": "0.6.1", | ||
| "@backstage/catalog-client": "workspace:^", | ||
| "@backstage/catalog-model": "workspace:^", | ||
| "@backstage/config": "workspace:^", | ||
| "@backstage/plugin-catalog-common": "workspace:^", | ||
| "@backstage/plugin-catalog-common": "0.1.0", | ||
| "@backstage/plugin-permission-common": "workspace:^", | ||
| "@backstage/plugin-search-backend-node": "workspace:^", | ||
| "@backstage/plugin-search-common": "workspace:^" | ||
| "@backstage/plugin-search-backend-node": "0.1.2", | ||
| "@backstage/plugin-search-common": "0.3.1" |
There was a problem hiding this comment.
Replacing workspace:^ references with fixed versions in a Yarn workspace monorepo can lead to dependency inconsistencies. This approach breaks the workspace linking mechanism that ensures all packages use the same version of internal dependencies.
The warning in the PR description ("Failed to update the yarn.lock") further indicates these changes aren't properly synchronized with the project's dependency tree.
For monorepo health, consider:
- Keeping the
workspace:^references for internal packages - If vulnerability fixes are needed, update the packages at their source within the monorepo
- If fixed versions are absolutely necessary, ensure all related packages are updated consistently and the yarn.lock is properly regenerated
This approach will maintain dependency consistency while addressing the security vulnerabilities.
| "@backstage/backend-tasks": "0.6.1", | |
| "@backstage/catalog-client": "workspace:^", | |
| "@backstage/catalog-model": "workspace:^", | |
| "@backstage/config": "workspace:^", | |
| "@backstage/plugin-catalog-common": "workspace:^", | |
| "@backstage/plugin-catalog-common": "0.1.0", | |
| "@backstage/plugin-permission-common": "workspace:^", | |
| "@backstage/plugin-search-backend-node": "workspace:^", | |
| "@backstage/plugin-search-common": "workspace:^" | |
| "@backstage/plugin-search-backend-node": "0.1.2", | |
| "@backstage/plugin-search-common": "0.3.1" | |
| "@backstage/backend-tasks": "workspace:^", | |
| "@backstage/catalog-client": "workspace:^", | |
| "@backstage/catalog-model": "workspace:^", | |
| "@backstage/config": "workspace:^", | |
| "@backstage/plugin-catalog-common": "workspace:^", | |
| "@backstage/plugin-permission-common": "workspace:^", | |
| "@backstage/plugin-search-backend-node": "workspace:^", | |
| "@backstage/plugin-search-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 ↗. |
|
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 41 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
plugins/search-backend-module-catalog/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-BABELTRAVERSE-5962462
SNYK-JS-ELLIPTIC-8187303
SNYK-JS-ELLIPTIC-7577916
SNYK-JS-ELLIPTIC-7577917
SNYK-JS-ELLIPTIC-7577918
SNYK-JS-ELLIPTIC-8720086
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-HTTPPROXYMIDDLEWARE-8229906
SNYK-JS-IP-6240864
SNYK-JS-TARFS-9535930
SNYK-JS-ANSIREGEX-1583908
SNYK-JS-BRACES-6838727
SNYK-JS-SEMVER-3247795
SNYK-JS-WS-7266574
SNYK-JS-WEBPACKDEVMIDDLEWARE-6476555
SNYK-JS-FOLLOWREDIRECTS-6141137
SNYK-JS-BABELHELPERS-9397697
SNYK-JS-OCTOKITREQUEST-8730853
SNYK-JS-PATHTOREGEXP-7925106
SNYK-JS-PATHTOREGEXP-8482416
SNYK-JS-FOLLOWREDIRECTS-6444610
SNYK-JS-IP-7148531
SNYK-JS-TAR-6476909
SNYK-JS-TOUGHCOOKIE-5672873
SNYK-JS-INFLIGHT-6095116
SNYK-JS-ELLIPTIC-8172694
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
SNYK-JS-BODYPARSER-7926860
SNYK-JS-WEBPACK-7840298
SNYK-JS-BROWSERIFYSIGN-6037026
SNYK-JS-MICROMATCH-6838728
SNYK-JS-GRAPHQL-5905181
SNYK-JS-COOKIE-8163060
SNYK-JS-NANOID-8492085
SNYK-JS-NWSAPI-2841516
SNYK-JS-EXPRESS-6474509
SNYK-JS-POSTCSS-5926692
SNYK-JS-EXPRESS-7926867
SNYK-JS-PRISMJS-9055448
SNYK-JS-SEND-7926862
SNYK-JS-SERVESTATIC-7926865
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)
🦉 Open Redirect
🦉 More lessons are available in Snyk Learn
Summary by Sourcery
Update dependencies to fix 41 security vulnerabilities in Yarn packages
Bug Fixes:
Enhancements: