ADVISORIES

GitHub Advisory Database

GHSA-2fc9-xpp8-2g9h

`@backstage/backend-common` vulnerable to path traversal through symlinks

Details

Impact

Paths checks with the resolveSafeChildPath utility were not exhaustive enough, leading to risk of path traversal vulnerabilities if symlinks can be injected by attackers.

Patches

Patched in @backstage/backend-common version 0.21.1. Patched in @backstage/backend-common version 0.20.2. Patched in @backstage/backend-common version 0.19.10.

For more information

If you have any questions or comments about this advisory:

Affected packages

EcosystemPackageAffected versions
npm@backstage/backend-common
From 0.21.0 before 0.21.1 (fixed in 0.21.1)
npm@backstage/backend-common
All versions before 0.19.10 (fixed in 0.19.10)
npm@backstage/backend-common
From 0.20.0 before 0.20.2 (fixed in 0.20.2)

References