~ / search / GHSA-2fc9-xpp8-2g9h

GHSA-2fc9-xpp8-2g9h

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

Source: GitHub Advisory Database (reviewed) High CVE-2024-26150

Packages

EcosystemPackageAffectedFixed in
npm @backstage/backend-common >= 0.21.0, < 0.21.1 0.21.1
npm @backstage/backend-common < 0.19.10 0.19.10
npm @backstage/backend-common >= 0.20.0, < 0.20.2 0.20.2

Details

As written in the advisory (Markdown source, shown as plain text).

### 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: - Open an issue in the [Backstage repository](https://github.com/backstage/backstage) - Visit our Discord, linked to in [Backstage README](https://github.com/backstage/backstage)

References

External links from the advisory. They lead to third-party sites.