Vulnerability · Published Feb 23, 2024 · Assigned by GitHub_M

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

High 8.7

In plain English

A high-severity path traversal in backstage from backstage. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.7High
Exploit odds (30 days)0.8%top 43.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@backstage/backend-common0.21.1GHSA-2fc9-xpp8-2g9h
npm@backstage/backend-common0.19.10GHSA-2fc9-xpp8-2g9h
npm@backstage/backend-common0.20.2GHSA-2fc9-xpp8-2g9h

Affected products (as reported)

VendorProductVersions
backstage backstage = 0.21.0< 0.19.10>= 0.20.0, < 0.20.2

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

References