VDB
Sign up
CRITICAL9.6

GHSA-g2v8-7jhw-pp8p

Backstage: Sensitive information exposure in Scaffolder

Quick fix

GHSA-g2v8-7jhw-pp8p — @backstage/plugin-scaffolder-backend: upgrade to the fixed version with the command below.

npm install @backstage/plugin-scaffolder-backend@3.3.1

Details

### Impact

An authenticated Backstage user who can read another user's Scaffolder task may receive internal execution data. In deployments where that data contains credentials for an external service, this may permit disclosure and unauthorized changes in that external service.

### Patches

Patched in `@backstage/plugin-scaffolder-backend` version `4.1.0`

### Workarounds

- Configure `scaffolder.task.read` with the `isTaskOwner` condition so users can only read tasks they created. - Restrict affected integrations and workflows to trusted operators until an upgrade is available.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@backstage/plugin-scaffolder-backend
Introduced in: 0Fixed in: 3.3.1
Fixnpm install @backstage/plugin-scaffolder-backend@3.3.1
npm/@backstage/plugin-scaffolder-backend
Introduced in: 3.4.0Fixed in: 3.4.1
Fixnpm install @backstage/plugin-scaffolder-backend@3.4.1
npm/@backstage/plugin-scaffolder-backend
Introduced in: 4.0.0Fixed in: 4.0.3
Fixnpm install @backstage/plugin-scaffolder-backend@4.0.3
npm/@backstage/plugin-scaffolder-backend
Introduced in: 4.0.4Fixed in: 4.1.0
Fixnpm install @backstage/plugin-scaffolder-backend@4.1.0

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/plugin-scaffolder-backend"]}'