VDB
Sign up
MEDIUM5.3

GHSA-vwp5-f99x-x3rq

Backstage has improper input validation in scaffolder task list ordering

Quick fix

GHSA-vwp5-f99x-x3rq — @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 Backstage user with permission to create and read relevant scaffolder tasks may be able to infer confidential task data under specific conditions. Successful exploitation requires retained task secrets, visibility of a target task, knowledge of the secret structure, and repeated requests.

### Patches

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

### Workarounds

- At the gateway or reverse proxy, reject task-list requests that specify custom ordering, or allow ordering only by `created_at`, `status`, and `created_by`. - Restrict scaffolder task creation and task read permissions to trusted users, preferably using owner-based task-read conditions. - Disabling task recovery can reduce secret retention after a task is claimed, but it does not protect secrets in queued tasks and should not be treated as complete mitigation.

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"]}'