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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product