Advisory

GHSA-2fc9-xpp8-2g9h

Also known as: CVE-2024-26150

Summary

@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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-02-23 18:02 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

@backstage/backend-common

npm · All systems

Affected

  • introduced 0.21.0, fixed 0.21.1 (semver)

Fixed versions

0.21.1

Fix

@backstage/backend-common

npm · All systems

Affected

  • introduced 0, fixed 0.19.10 (semver)

Fixed versions

0.19.10

Fix

@backstage/backend-common

npm · All systems

Affected

  • introduced 0.20.0, fixed 0.20.2 (semver)

Fixed versions

0.20.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences