Arbitrary Code Injection Affecting @backstage/plugin-scaffolder-backend package, versions <1.15.0


Severity

0.0
high
0
10

    Threat Intelligence

    EPSS
    0.26% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-BACKSTAGEPLUGINSCAFFOLDERBACKEND-5730767
  • published 22 Jun 2023
  • disclosed 21 Jun 2023
  • credit Unknown

How to fix?

Upgrade @backstage/plugin-scaffolder-backend to version 1.15.0 or higher.

Overview

@backstage/plugin-scaffolder-backend is a The Backstage backend plugin that helps you create new things

Affected versions of this package are vulnerable to Arbitrary Code Injection due to the usage of insecure sandbox plugin. Exploiting this vulnerability is possible by an attacker with write access to a registered scaffolder template, and it allows manipulation of the template in a way that allows remote code execution.

Note: This was only exploitable in the template YAML definition itself and not by user input data.

CVSS Scores

version 3.1
Expand this section

Snyk

8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

9.9 critical