8.5
HIGH
CVE-2021-43783
Backstage Scaffolder Backend Template Injection
Description

@backstage/plugin-scaffolder-backend is the backend for the default Backstage software templates. In affected versions a malicious actor with write access to a registered scaffolder template is able to manipulate the template in a way that writes files to arbitrary paths on the scaffolder-backend host instance. This vulnerability can in some situation also be exploited through user input when executing a template, meaning you do not need write access to the templates. This method will not allow the attacker to control the contents of the injected file however, unless the template is also crafted in a specific way that gives control of the file contents. This vulnerability is fixed in version `0.15.14` of the `@backstage/plugin-scaffolder-backend`. This attack is mitigated by restricting access and requiring reviews when registering or modifying scaffolder templates.

INFO

Published Date :

Nov. 29, 2021, 8:15 p.m.

Last Modified :

Dec. 1, 2021, 7:41 p.m.

Remotely Exploitable :

Yes !

Impact Score :

4.7

Exploitability Score :

3.1
Affected Products

The following products are affected by CVE-2021-43783 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-43783.

URL Resource
https://github.com/backstage/backstage/commit/f9352ab606367cd9efc6ff048915c70ed3013b7f Patch Third Party Advisory
https://github.com/backstage/backstage/security/advisories/GHSA-mg3m-f475-28hv 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-43783 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-43783 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]

    Dec. 01, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:N/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L
    Changed Reference Type https://github.com/backstage/backstage/commit/f9352ab606367cd9efc6ff048915c70ed3013b7f No Types Assigned https://github.com/backstage/backstage/commit/f9352ab606367cd9efc6ff048915c70ed3013b7f Patch, Third Party Advisory
    Changed Reference Type https://github.com/backstage/backstage/security/advisories/GHSA-mg3m-f475-28hv No Types Assigned https://github.com/backstage/backstage/security/advisories/GHSA-mg3m-f475-28hv Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:backstage:backstage:*:*:*:*:*:*:*:* versions up to (excluding) 0.15.14
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-43783 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.08 }} 0.00%

score

0.30834

percentile

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