VDB
Sign up
HIGH8.1

GHSA-hmp2-4m7g-22cv

Backstage: Scaffolder action input authorization bypass

Quick fix

GHSA-hmp2-4m7g-22cv — @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 user with access to affected Scaffolder templates could bypass configured action restrictions. Depending on integration credentials, this could grant unauthorized access to repositories and related source-control resources.

### Patches

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

### Workarounds

- Restrict affected Scaffolder actions to trusted users and configure source-control integrations with least-privilege credentials.

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