p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de @escape.tech/graphql-armor-max-depth

Vulnérabilité publiée pour @escape.tech/graphql-armor-max-depth au cours des 30 derniers jours : 0. Dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 2

  1. GHSA-224p-v68g-5g8f

    Moyenne · CVSS 5.3Correctif disponible

    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

    • Mettez à jour vers 2.4.2
    Publication Mise à jour
  2. GHSA-hmfr-rx46-4jx2

    Moyenne · CVSS 5.3Correctif disponible

    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

    • Mettez à jour vers 2.4.2
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →