@backstage/plugin-catalog-backend@4.0.1

The Backstage backend plugin that provides the Backstage catalog

  • latest version

    4.0.2

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    23 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @backstage/plugin-catalog-backend package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Directory Traversal

    @backstage/plugin-catalog-backend is a The Backstage backend plugin that provides the Backstage catalog

    Affected versions of this package are vulnerable to Directory Traversal via URL normalization inconsistency in CatalogRules.ts, where catalog rules for URL locations are matched against the raw, non-canonical form of a URL target while the actual content is fetched using the canonicalized (dot-segment-resolved) form. An attacker can craft a URL containing percent-encoded dot segments (e.g. %2e%2e) or other encoding tricks that appear to belong to an allowed location scope during rule matching, but resolve to a different, potentially restricted scope when the URL reader fetches the content. This allows the attacker to bypass catalog ingestion rules and register entities from locations that should be denied.

    How to fix Directory Traversal?

    Upgrade @backstage/plugin-catalog-backend to version 3.9.2, 4.0.2 or higher.

    <3.9.2>=4.0.0 <4.0.2