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.

Github Repository NVD

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.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
HIGH
User Interaction:
NONE
Scope:
CHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
NONE

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:

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
0.39%
Percentile
59.41%

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.