ADVISORIES

GitHub Advisory Database

GHSA-xvh9-35w9-42m4

Backstage: Cloud storage catalog locations may cross configured storage boundaries

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.

Affected packages

EcosystemPackageAffected versions
npm@backstage/plugin-catalog-backend-module-azure
All versions before 0.3.21 (fixed in 0.3.21)
npm@backstage/plugin-catalog-backend-module-aws
All versions before 0.4.27 (fixed in 0.4.27)
npm@backstage/backend-defaults
All versions before 0.17.8 (fixed in 0.17.8)

References