Path Traversal in Backstage
CVE-2024-26150
`@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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.008, 57.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Backstage — versions = 0.21.0, < 0.19.10, >= 0.20.0, < 0.20.2
- Linuxfoundation Backstage Backend-Common — versions 0.21.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/backstage/backstage/security/advisories/GHSA-2fc9-xpp8-2g9h (Vendor Advisory)
- https://github.com/backstage/backstage/commit/1ad2b1b61ebb430051f7d804b0cc7ebfe7922b6f (Patch)
- https://github.com/backstage/backstage/commit/78f892b3a84d63de2ba167928f171154c447b717 (Patch)
- https://github.com/backstage/backstage/commit/edf65d7d31e027599c2415f597d085ee84807871 (Patch)