VDB
Sign up
MEDIUM6.5

GHSA-4xvq-3m68-h444

Backstage has sensitive information exposure in scaffolder task logs

Quick fix

GHSA-4xvq-3m68-h444 — @backstage/plugin-scaffolder-backend: upgrade to the fixed version with the command below.

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

Details

### Impact

An authenticated user who can create and read scaffolder tasks may be able to observe sensitive values in task logs in deployments with restrictive action permissions and affected templates. Exploitation requires a denied action whose input contains such a value.

### Patches

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

### Workarounds

- Restrict scaffolder task creation and task-log reading to trusted users. - Avoid placing centrally managed sensitive values in inputs to actions that may be denied until upgrading.

### References

- [Backstage threat model](https://backstage.io/docs/overview/threat-model/) - [Backstage permissions overview](https://backstage.io/docs/permissions/overview/)

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@backstage/plugin-scaffolder-backend
Introduced in: 0Fixed 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"]}'