GHSA-2g8g-63j4-9w3r – @backstage/plugin-scaffolder-backend
Package
Manager: npm
Name: @backstage/plugin-scaffolder-backend
Vulnerable Version: >=0 <0.15.14
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:H/RL:U/RC:C
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
RCE vulnerability affecting v1beta3 templates in @backstage/plugin-scaffolder-backend The templating library used by the scaffolder backend assumes that templates are trusted which is an undesired property of the scaffolder-backend. This has now been mitigated by sandboxing the template code execution. ### Impact A malicious actor with write access to a registered scaffolder template could manipulate the template in a way that allows for remote code execution on the scaffolder-backend instance. This was only exploitable in the template yaml definition itself and not by user input data. ### Patches This is vulnerability is patched in version `0.15.14` of `@backstage/plugin-scaffolder-backend`. ### For more information If you have any questions or comments about this advisory: * Open an issue in the [Backstage repository](https://github.com/backstage/backstage) * Visit our chat, linked to in [Backstage README](https://github.com/backstage/backstage)
Metadata
Created: 2021-12-01T18:29:12Z
Modified: 2021-11-29T19:39:57Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-2g8g-63j4-9w3r/GHSA-2g8g-63j4-9w3r.json
CWE IDs: []
Alternative ID: N/A
Finding: F422
Auto approve: 1