Skip to content

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

HighCVSS 7.5 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
backstage @backstage/backend-common(npm) < 0.19.10; = 0.21.0; >= 0.20.0, < 0.20.2; >= 0.21.0, < 0.21.1 0.19.10, 0.20.2, 0.21.1 Fixed
linuxfoundation backstage backend-common < 0.19.10; = 0.21.0; >= 0.20.0, < 0.20.2 0.19.10, 0.20.2 Fixed
backstage = < 0.19.10; = = 0.21.0; = >= 0.20.0, < 0.20.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
backstage @backstage/backend-common(npm) = 0.21.0 No fix listed
backstage @backstage/backend-common(npm) < 0.19.10 0.19.10
backstage @backstage/backend-common(npm) >= 0.20.0, < 0.20.2 0.20.2
backstage = = 0.21.0 No fix listed
backstage = < 0.19.10 No fix listed
backstage = >= 0.20.0, < 0.20.2 No fix listed
linuxfoundation backstage backend-common < 0.19.10 0.19.10
linuxfoundation backstage backend-common >= 0.20.0, < 0.20.2 0.20.2
linuxfoundation backstage backend-common = 0.21.0 No fix listed
backstage @backstage/backend-common(npm) >= 0.21.0, < 0.21.1 0.21.1

References