ADVISORIES

GitHub Advisory Database

GHSA-95v5-prp4-5gv5

Backstage vulnerable to potential reading of SCM URLs using built in token

Details

Impact

A vulnerability in the SCM URL parsing used by Backstage integrations allowed path traversal sequences in encoded form to be included in file paths. When these URLs were processed by integration functions that construct API URLs, the traversal segments could redirect requests to unintended SCM provider API endpoints using the configured server-side integration credentials.

This affects instances that use any of the SCM integrations (GitHub, Bitbucket Server, Bitbucket Cloud) with the scaffolder or other features that accept user-provided SCM URLs.

Patches

This is patched in @backstage/integration version 1.20.1.

Workarounds

There is no workaround for this vulnerability. Users should upgrade to the patched version.

References

  • Backstage SCM integration documentation: https://backstage.io/docs/integrations/

Affected packages

EcosystemPackageAffected versions
npm@backstage/integration
All versions before 1.20.1 (fixed in 1.20.1)

References