Intel

AIKIDO-2024-10392

webonyx/graphql-php is vulnerable to Uncontrolled Recursion

Uncontrolled Recursion Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 30, 2024

45

Medium Risk

This Affects:

phpwebonyx/graphql-php
0.6.0 - 15.12.4
Fixed in 15.12.5
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to uncontrolled recursion in the query depth calculator. This vulnerability occurs when a certain input triggers excessive recursion, leading to potential stack overflows or denial of service due to resource exhaustion.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

webonyx/graphql-php is vulnerable to Uncontrolled Recursion in versions 0.6.0 - 15.12.4.

How to fix this

Upgrade the webonyx/graphql-php library to the patch version.