Backstage @backstage/backend-common path traversal before v0.21.1
CVE-2024-26150 Published on February 23, 2024
`@backstage/backend-common` vulnerable to path traversal through symlinks
`@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 Analysis
CVE-2024-26150 is exploitable with network access, and requires user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and no impact on availability.
Weakness Type
What is a Directory traversal Vulnerability?
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CVE-2024-26150 has been classified to as a Directory traversal vulnerability or weakness.
Products Associated with CVE-2024-26150
Want to know whenever a new CVE is published for Linux Foundation Backstage Backend Common? stack.watch will email you.
Affected Versions
backstage:- Version = 0.21.0 is affected.
- Version < 0.19.10 is affected.
- Version >= 0.20.0, < 0.20.2 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2024-26150
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| npm | @backstage/backend-common | = 0.21.0 | 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 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.