[Snyk] Fix for 2 vulnerabilities#5421
Conversation
…reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-WEBPACKDEVSERVER-10300775 - https://snyk.io/vuln/SNYK-JS-WEBPACKDEVSERVER-10300777
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
Reviewer's GuideThis PR replaces three workspace version specifiers with explicit fixed releases in the Bitbucket Server catalog backend’s package.json to remediate high- and medium-severity webpack-dev-server vulnerabilities — ensure the lockfile is also updated manually before merging. Sequence Diagram for Snyk Vulnerability Remediation ProcesssequenceDiagram
actor Snyk
participant ProjectRepository
participant Developer
Snyk->>ProjectRepository: Scans dependencies for vulnerabilities
activate ProjectRepository
Snyk->>ProjectRepository: Creates PR (updates package.json for 2 vulnerabilities)
ProjectRepository-->>Snyk: PR created with updated dependencies
deactivate ProjectRepository
Snyk->>Developer: Notifies: PR ready for review
Snyk->>Developer: Action Required: Update yarn.lock manually
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
⛔ Snyk checks have failed. 1 issues have been found so far.
⛔ security/snyk check is complete. 1 issues have been found. (View Details) 💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
| "@backstage/backend-plugin-api": "workspace:^", | ||
| "@backstage/backend-tasks": "workspace:^", | ||
| "@backstage/catalog-model": "workspace:^", | ||
| "@backstage/catalog-model": "0.1.1", |
There was a problem hiding this comment.
The version 0.1.1 specified for @backstage/catalog-model appears to be significantly outdated and inconsistent with the other upgraded dependencies (backend-common@0.24.1 and plugin-catalog-node@1.0.0). This version discrepancy will likely cause compatibility issues during installation or runtime.
In the Backstage ecosystem, package versions typically align more closely. The catalog-model package should have a version that's compatible with the other core packages being updated in this PR.
Consider verifying the correct version of catalog-model that works with the specified versions of backend-common and plugin-catalog-node before merging this security fix.
| "@backstage/catalog-model": "0.1.1", | |
| "@backstage/catalog-model": "^1.4.0", |
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 2 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
plugins/catalog-backend-module-bitbucket-server/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-WEBPACKDEVSERVER-10300775
SNYK-JS-WEBPACKDEVSERVER-10300777
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:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.
Summary by Sourcery
Upgrade key Backstage dependencies in the Bitbucket Server catalog backend module to address two vulnerabilities in webpack-dev-server.
Bug Fixes: