GHSA-2g8g-63j4-9w3r

    Dashboard / Vulnerabilities / GHSA-2g8g-63j4-9w3r

    GHSA-2g8g-63j4-9w3r

    Published: 1 Dec 2021Last Modified: 29 Nov 2021

    Summary: RCE vulnerability affecting v1beta3 templates in @backstage/plugin-scaffolder-backend

    Details: 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)

    Affected packages

    Package

    Name: @backstage/plugin-scaffolder-backend

    Purl: pkg:npm/%40backstage/plugin-scaffolder-backend

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.15.14

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-2g8g-63j4-9w3r | CVE-DB