Allocation of Resources Without Limits or Throttling Affecting @escape.tech/graphql-armor-max-depth package, versions <2.4.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ESCAPETECHGRAPHQLARMORMAXDEPTH-12219956
  • published28 Aug 2025
  • disclosed26 Aug 2025
  • creditUnknown

Introduced: 26 Aug 2025

New CVE NOT AVAILABLE CWE-770  (opens in a new tab)

How to fix?

Upgrade @escape.tech/graphql-armor-max-depth to version 2.4.2 or higher.

Overview

@escape.tech/graphql-armor-max-depth is a Limit the depth allowed in a GraphQL query.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the countDepth function. An attacker can cause excessive resource consumption by crafting queries that reuse fragments at varying depths, bypassing intended depth restrictions through fragment caching.

PoC

query {
  books {
    author {
      ...Test
    }
  }
  books {
    author {
      books {
        author {
          ...Test
        }
      }
    }
  }
}
fragment Test on Author {
  books {
    title
  }
}

CVSS Base Scores

version 4.0
version 3.1