p PatchFirst

PatchFirst · Latest vulnerabilities

@escape.tech/graphql-armor-max-depth vulnerabilities

Vulnerabilities published for @escape.tech/graphql-armor-max-depth in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 2

  1. GHSA-224p-v68g-5g8f

    Medium · CVSS 5.3Fix available

    GraphQL Armor Max-Depth Plugin Bypass via fragment caching

    ### Summary A query depth restriction using the max-depth can be bypassed if `ignoreIntrospection` is enabled (which is the default configuration) by naming your query/fragment `__schema`. ### Details In the `countDepth` function, we have the following code that calculates the depth of a used fragment: ```typescript } else if (node.kind == Kind.FRAGMENT_SPREAD) { if (this.visitedFragments.has(node.name.value)) { return this.visitedFragments.get(node.name.value) ?? 0; } else { this.visitedFragments.set(node.name.value, -1); } const fragment = this.context.getFragment(node.name.value); if (fra

    • Update to 2.4.2
    Published Updated
  2. GHSA-hmfr-rx46-4jx2

    Medium · CVSS 5.3Fix available

    GraphQL Armor Max-Depth Plugin Bypass via Introspection Query Obfuscation

    ### Summary A query depth restriction using the `max-depth` property can be bypassed if `ignoreIntrospection` is enabled (which is the default configuration) by naming your query/fragment `__schema`. ### Details At the start of the `countDepth` function, we have the following check for the `ignoreIntrospection` option: ```typescript if (this.config.ignoreIntrospection && 'name' in node && node.name?.value === '__schema') { return 0; } ``` However, the `node` can be one of: `FieldNode`, `FragmentDefinitionNode`, `InlineFragmentNode`, `OperationDefinitionNode`, `FragmentSpreadNode`. For example, consider sending the followin

    • Update to 2.4.2
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →