Skip to content
OpenAdvisories
High · 8.7 CVE-2024-26150 EUVD-2024-0471GHSA-2fc9-xpp8-2g9h

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

Published Feb 23, 2024 · Updated Aug 1, 2024 · Assigned by GitHub_M

Description

`@backstage/backend-common` is a common functionality library for backends for Backstage, an open platform for building developer portals. In `@backstage/backend-common` prior to versions 0.21.1, 0.20.2, and 0.19.10, paths checks with the `resolveSafeChildPath` utility were not exhaustive enough, leading to risk of path traversal vulnerabilities if symlinks can be injected by attackers. This issue is patched in `@backstage/backend-common` versions 0.21.1, 0.20.2, and 0.19.10.

Affected products

VendorProductAffectedFixed
backstage backstage = 0.21.0, < 0.19.10, >= 0.20.0, < 0.20.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @backstage/backend-common >= 0.21.0, < 0.21.1 0.21.1 GHSA-2fc9-xpp8-2g9h
npm @backstage/backend-common < 0.19.10 0.19.10 GHSA-2fc9-xpp8-2g9h
npm @backstage/backend-common >= 0.20.0, < 0.20.2 0.20.2 GHSA-2fc9-xpp8-2g9h

References