Skip to content

Update dependency @backstage/plugin-permission-backend to ^0.6.0 [SECURITY] - #13

Open
renovate-wibrow[bot] wants to merge 1 commit into
mainfrom
renovate/npm-backstage-plugin-permission-backend-vulnerability
Open

renovate-wibrow[bot] wants to merge 1 commit into
mainfrom
renovate/npm-backstage-plugin-permission-backend-vulnerability

Conversation

@renovate-wibrow

Copy link
Copy Markdown

This PR contains the following updates:

Package Type Update Change
@backstage/plugin-permission-backend (source) dependencies minor ^0.5.43 → ^0.6.0

Permission policy information leakage in Backstage permission system

CVE-2025-32791 / GHSA-f8j4-p5cr-p777

More information

Details

Impact

A vulnerability in the Backstage permission plugin backend allows callers to extract some information about the conditional decisions returned by the permission policy installed in the permission backend. If the permission system is not in use or if the installed permission policy does not use conditional decisions, there is no impact.

Patches

This issue has been resolved in version 0.6.0 of the permissions backend.

Workarounds

Administrators of the permission policies can ensure that they are crafted in such a way that conditional decisions do not contain any sensitive information.

References

If you have any questions or comments about this advisory:

Open an issue in the Backstage repository
Visit our Discord, linked to in Backstage README

Severity

  • CVSS Score: 4.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

backstage/backstage (@​backstage/plugin-permission-backend)

v0.6.0

Compare Source

Minor Changes
  • 78eaa50: Improved validation for the /authorize endpoint when a resourceRef is provided alongside a basic permission. Additionally, introduced a clearer error message for cases where users attempt to directly evaluate conditional permissions.
Patch Changes

v0.5.55

Compare Source

Patch Changes

v0.5.54

Compare Source

Patch Changes

v0.5.53

Compare Source

Patch Changes

v0.5.52

Compare Source

Patch Changes

v0.5.51

Compare Source

Patch Changes

v0.5.50

Compare Source

Patch Changes

v0.5.49

Compare Source

Patch Changes

v0.5.48

Compare Source

v0.5.47

Compare Source

Patch Changes

v0.5.46

Compare Source

Patch Changes
  • ed10fd2: The PermissionPolicy interface has been updated to align with the recent changes to the Backstage auth system. The second argument to the handle method is now of the new PolicyQueryUser type. This type maintains the old fields from the BackstageIdentityResponse, which are now all deprecated. Instead, two new fields have been added, which allows access to the same information:

    • credentials - A BackstageCredentials object, which is useful for making requests to other services on behalf of the user as part of evaluating the policy. This replaces the deprecated token field. See the Auth Service documentation for information about how to create a token using these credentials.
    • info - A BackstageUserInfo object, which contains the same information as the deprecated identity, except for the type field that was redundant.

    Most existing policies can be updated by replacing the BackstageIdentityResponse type with PolicyQueryUser, which is exported from @backstage/plugin-permission-node, as well as replacing any occurrences of user?.identity with user?.info.

  • Updated dependencies


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

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

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants