VDB
Sign up
HIGH7.6

GHSA-cq7v-rfgc-5c7v

Backstage: Improper preservation of access restrictions during service credential delegation

Quick fix

GHSA-cq7v-rfgc-5c7v — @backstage/backend-defaults: upgrade to the fixed version with the command below.

npm install @backstage/backend-defaults@0.17.8

Details

### Impact

An external service credential configured with access restrictions (e.g., read-only) could bypass those restrictions by routing requests through plugin delegation paths. This could allow a restricted service to perform operations beyond its intended scope, including write operations on plugins it was restricted to read-only access for.

### Patches

Patched in `@backstage/backend-defaults` version `0.17.8`

### Workarounds

If you're unable to upgrade immediately:

- If practical, replace restricted credentials with separate, purpose-specific unrestricted credentials scoped to trusted consumers. - Restrict network-level access to Backstage backend API endpoints to trusted callers only.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@backstage/backend-defaults
Introduced in: 0Fixed in: 0.17.8
Fixnpm install @backstage/backend-defaults@0.17.8

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:npm/%40backstage/backend-defaults"]}'