GHSA-4jqc-jvh2-pxg9

    Dashboard / Vulnerabilities / GHSA-4jqc-jvh2-pxg9

    GHSA-4jqc-jvh2-pxg9

    Published: 17 Jun 2022Last Modified: 17 Jun 2022

    Summary: Path traversal for local publishers in TechDocs backend

    Details: ### Impact A malicious actor with the ability to register entities in the Software Catalog is able to write files to arbitrary paths on the techdocs backend host instance when `techdocs.publisher.type` is set to `local`. This vulnerability is mitigated by the fact that the Software Catalog must be configured with non-standard field format validators and/or non-standard entity policies. ### Patches Those affected are advised to upgrade to `@backstage/plugin-techdocs-node` version `1.1.2` or higher. ### Workarounds If patching or upgrading is not possible, it would be sufficient to update any custom Catalog field format validators and/or custom entity policies to disallow entity names, kinds, and namespaces containing `..` <!-- ### References todo: Link to blog post / published report. --> ### 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 the [Backstage README](https://github.com/backstage/backstage)

    Affected packages

    Package

    Name: @backstage/plugin-techdocs-node

    Purl: pkg:npm/%40backstage/plugin-techdocs-node

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.1.2

    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-4jqc-jvh2-pxg9 | CVE-DB