janus-idp / backstage-showcase

Enterprise-ready Backstage distribution
https://showcase.janus-idp.io
Apache License 2.0
105 stars 141 forks source link

fix(deps): update dependency @backstage/backend-common to v0.20.2 [security] #1255

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@backstage/backend-common (source) 0.20.0 -> 0.20.2 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-26150

Impact

Paths checks with the resolveSafeChildPath utility were not exhaustive enough, leading to risk of path traversal vulnerabilities if symlinks can be injected by attackers.

Patches

Patched in @backstage/backend-common version 0.21.1. Patched in @backstage/backend-common version 0.20.2. Patched in @backstage/backend-common version 0.19.10.

For more information

If you have any questions or comments about this advisory:


@backstage/backend-common vulnerable to path traversal through symlinks

CVE-2024-26150 / GHSA-2fc9-xpp8-2g9h

More information #### Details ##### Impact Paths checks with the `resolveSafeChildPath` utility were not exhaustive enough, leading to risk of path traversal vulnerabilities if symlinks can be injected by attackers. ##### Patches Patched in `@backstage/backend-common` version `0.21.1`. Patched in `@backstage/backend-common` version `0.20.2`. Patched in `@backstage/backend-common` version `0.19.10`. ##### For more information If you have any questions or comments about this advisory: - Open an issue in the [Backstage repository](https://togithub.com/backstage/backstage) - Visit our Discord, linked to in [Backstage README](https://togithub.com/backstage/backstage) #### Severity - CVSS Score: 8.7 / 10 (High) - Vector String: `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N` #### References - [https://github.com/backstage/backstage/security/advisories/GHSA-2fc9-xpp8-2g9h](https://togithub.com/backstage/backstage/security/advisories/GHSA-2fc9-xpp8-2g9h) - [https://nvd.nist.gov/vuln/detail/CVE-2024-26150](https://nvd.nist.gov/vuln/detail/CVE-2024-26150) - [https://github.com/backstage/backstage/commit/1ad2b1b61ebb430051f7d804b0cc7ebfe7922b6f](https://togithub.com/backstage/backstage/commit/1ad2b1b61ebb430051f7d804b0cc7ebfe7922b6f) - [https://github.com/backstage/backstage/commit/78f892b3a84d63de2ba167928f171154c447b717](https://togithub.com/backstage/backstage/commit/78f892b3a84d63de2ba167928f171154c447b717) - [https://github.com/backstage/backstage/commit/edf65d7d31e027599c2415f597d085ee84807871](https://togithub.com/backstage/backstage/commit/edf65d7d31e027599c2415f597d085ee84807871) - [https://github.com/backstage/backstage](https://togithub.com/backstage/backstage) This data is provided by [OSV](https://osv.dev/vulnerability/GHSA-2fc9-xpp8-2g9h) and the [GitHub Advisory Database](https://togithub.com/github/advisory-database) ([CC-BY 4.0](https://togithub.com/github/advisory-database/blob/main/LICENSE.md)).

Release Notes

backstage/backstage (@​backstage/backend-common) ### [`v0.20.2`](https://togithub.com/backstage/backstage/compare/v0.20.1...ab89d543b18b24cbd498578491c6fc3118f8a6e3) [Compare Source](https://togithub.com/backstage/backstage/compare/v0.20.1...ab89d543b18b24cbd498578491c6fc3118f8a6e3) ### [`v0.20.1`](https://togithub.com/backstage/backstage/blob/HEAD/packages/backend-common/CHANGELOG.md#0201) [Compare Source](https://togithub.com/backstage/backstage/compare/v0.20.0...v0.20.1) ##### Patch Changes - [`3b24eae`](https://togithub.com/backstage/backstage/commit/3b24eae): Adding support for removing file from git index - [`454d17c`](https://togithub.com/backstage/backstage/commit/454d17c): Do not call fetch directly but rather use `fetchResponse` facility - [`b6b15b2`](https://togithub.com/backstage/backstage/commit/b6b15b2): Use sha256 instead of md5 for hash key calculation in caches This can have a side effect of invalidating caches (when cache key was >250 characters) This improves compliance with FIPS nodejs - Updated dependencies - [@​backstage/config-loader](https://togithub.com/backstage/config-loader)[@​1](https://togithub.com/1).6.1 - [@​backstage/backend-plugin-api](https://togithub.com/backstage/backend-plugin-api)[@​0](https://togithub.com/0).6.9 - [@​backstage/backend-dev-utils](https://togithub.com/backstage/backend-dev-utils)[@​0](https://togithub.com/0).1.3 - [@​backstage/backend-app-api](https://togithub.com/backstage/backend-app-api)[@​0](https://togithub.com/0).5.10 - [@​backstage/cli-common](https://togithub.com/backstage/cli-common)[@​0](https://togithub.com/0).1.13 - [@​backstage/config](https://togithub.com/backstage/config)[@​1](https://togithub.com/1).1.1 - [@​backstage/errors](https://togithub.com/backstage/errors)[@​1](https://togithub.com/1).2.3 - [@​backstage/integration](https://togithub.com/backstage/integration)[@​1](https://togithub.com/1).8.0 - [@​backstage/integration-aws-node](https://togithub.com/backstage/integration-aws-node)[@​0](https://togithub.com/0).1.8 - [@​backstage/types](https://togithub.com/backstage/types)[@​1](https://togithub.com/1).1.1

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

openshift-ci[bot] commented 2 months ago

Hi @renovate[bot]. Thanks for your PR.

I'm waiting for a janus-idp member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
github-actions[bot] commented 2 months ago

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1255!

github-actions[bot] commented 2 months ago

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1255!

github-actions[bot] commented 2 months ago

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1255!

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 2 months ago

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1255!

openshift-ci[bot] commented 2 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: schultzp2020

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/janus-idp/backstage-showcase/blob/main/OWNERS)~~ [schultzp2020] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment