Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting @graphql-mesh/runtime package, versions >=0.96.5 <0.96.9


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Uncontrolled Resource Consumption ('Resource Exhaustion') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-GRAPHQLMESHRUNTIME-5961538
  • published12 Oct 2023
  • disclosed10 Oct 2023
  • creditkhell

Introduced: 10 Oct 2023

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

How to fix?

Upgrade @graphql-mesh/runtime to version 0.96.9 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') when the cache variables function is used in conjunction with operations and transforms at the root level. An attacker can manipulate the system to use initial variables in all subsequent requests, even if the variables change, by sending the same query with different variables. This can result in a short-term memory leak, as the system will continue to use the initial variables until the cache evicts the DocumentNode through the LRU mechanism.

CVSS Scores

version 3.1