6.8
MEDIUM
CVE-2021-41151
Backstage Scaffolder File Inclusion Vulnerability (File Read)
Description

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

INFO

Published Date :

Oct. 18, 2021, 9:15 p.m.

Last Modified :

Oct. 22, 2021, 4:09 p.m.

Remotely Exploitable :

Yes !

Impact Score :

4.0

Exploitability Score :

2.3
Affected Products

The following products are affected by CVE-2021-41151 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linuxfoundation backstage
1 Backstage backstage
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-41151.

URL Resource
https://github.com/backstage/backstage/commit/6968962c920508eae19a4c1c200fa2c8980a4006 Patch Third Party Advisory
https://github.com/backstage/backstage/security/advisories/GHSA-pvv8-8fx9-h673 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-41151 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-41151 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Oct. 22, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/backstage/backstage/commit/6968962c920508eae19a4c1c200fa2c8980a4006 No Types Assigned https://github.com/backstage/backstage/commit/6968962c920508eae19a4c1c200fa2c8980a4006 Patch, Third Party Advisory
    Changed Reference Type https://github.com/backstage/backstage/security/advisories/GHSA-pvv8-8fx9-h673 No Types Assigned https://github.com/backstage/backstage/security/advisories/GHSA-pvv8-8fx9-h673 Third Party Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:* versions from (including) 0.9.4 up to (excluding) 0.15.9
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-41151 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} -0.00%

score

0.28998

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability