VDB
Sign up
LOW3.0

GHSA-xvh9-35w9-42m4

Backstage: Cloud storage catalog locations may cross configured storage boundaries

Quick fix

GHSA-xvh9-35w9-42m4 — @backstage/plugin-catalog-backend-module-azure: upgrade to the fixed version with the command below.

npm install @backstage/plugin-catalog-backend-module-azure@0.3.21

Details

### Impact

Catalog entity providers for Azure Blob Storage and AWS S3 did not sufficiently validate storage object paths, which could allow catalog descriptors to be read from outside the intended storage boundary. Access is limited to locations reachable by the backend's configured credentials.

### Patches

- `@backstage/plugin-catalog-backend-module-azure` version `0.3.21` - `@backstage/plugin-catalog-backend-module-aws` version `0.4.27` - `@backstage/backend-defaults` version `0.7.18`

### Workarounds

- Restrict blob and object creation or renaming in configured catalog storage sources to trusted principals. - Scope Backstage's Azure and AWS reader credentials and network access to the intended storage boundaries. - Disable an affected catalog provider if those restrictions cannot be enforced.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@backstage/plugin-catalog-backend-module-azure
Introduced in: 0Fixed in: 0.3.21
Fixnpm install @backstage/plugin-catalog-backend-module-azure@0.3.21
npm/@backstage/plugin-catalog-backend-module-aws
Introduced in: 0Fixed in: 0.4.27
Fixnpm install @backstage/plugin-catalog-backend-module-aws@0.4.27
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/plugin-catalog-backend-module-azure"]}'