Grackle has StackOverflowError in GraphQL query processing
Description
Published to the GitHub Advisory Database
Dec 18, 2023
Reviewed
Dec 18, 2023
Published by the National Vulnerability Database
Dec 22, 2023
Last updated
Dec 22, 2023
Impact
Prior to this fix, the GraphQL query parsing was vulnerable to
StackOverflowError
s. The possibility of small queries resulting in stack overflow is a potential denial of service vulnerability.This potentially affects all applications using Grackle which have untrusted users.
Caution
No specific knowledge of an application's GraphQL schema would be required to construct a pathological query.
Patches
The stack overflow issues have been resolved in the v0.18.0 release of Grackle.
Workarounds
Users could interpose a sanitizing layer in between untrusted input and Grackle query processing.
References