@escape.tech/graphql-armor-cost-limit@2.4.1 vulnerabilities

Limit the cost of a GraphQL Query.

  • latest version

    2.4.2

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @escape.tech/graphql-armor-cost-limit package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Allocation of Resources Without Limits or Throttling

    @escape.tech/graphql-armor-cost-limit is a Limit the cost of a GraphQL Query.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the computeComplexity function due to an insufficient check within the ignoreIntrospection option, which is enabled by default. This allows an attacker to bypass a cost restriction by naming a query or a fragment using __schema

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade @escape.tech/graphql-armor-cost-limit to version 2.4.2 or higher.

    <2.4.2