linuxfoundation backstage CVE-2021-41151 is a vulnerability in Linux Foundation Backstage
Published on October 18, 2021

Path Traversal in @backstage/plugin-scaffolder-backend
Backstage is an open platform for building developer portals. In affected versions A malicious actor could read sensitive files from the environment where Scaffolder Tasks are run. The attack is executed by crafting a custom Scaffolder template with a `github:publish:pull-request` action and a particular source path. When the template is executed the sensitive files would be included in the published pull request. This vulnerability is mitigated by the fact that an attacker would need access to create and register templates in the Backstage catalog, and that the attack is very visible given that the exfiltration happens via a pull request. The vulnerability is patched in the `0.15.9` release of `@backstage/plugin-scaffolder-backend`.

Github Repository NVD

Vulnerability Analysis

CVE-2021-41151 can be exploited 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, with no impact on integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
HIGH
User Interaction:
NONE
Scope:
CHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
NONE
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-2021-41151 has been classified to as a Directory traversal vulnerability or weakness.


Products Associated with CVE-2021-41151

Want to know whenever a new CVE is published for Linux Foundation Backstage? stack.watch will email you.

 

Affected Versions

backstage Version >=0.9.4, < 0.15.9 is affected by CVE-2021-41151

Vulnerable Packages

The following package name and versions may be associated with CVE-2021-41151

Package Manager Vulnerable Package Versions Fixed In
npm @backstage/plugin-scaffolder-backend >= 0.9.4, < 0.15.9 0.15.9

Exploit Probability

EPSS
0.45%
Percentile
63.44%

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.