Prior to this fix, the GraphQL query parsing was vulnerable to StackOverflowErrors. 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.
The stack overflow issues have been resolved in the v0.18.0 release of Grackle.
Users could interpose a sanitizing layer in between untrusted input and Grackle query processing.
{
"github_reviewed_at": "2023-12-18T23:26:52Z",
"severity": "HIGH",
"github_reviewed": true,
"cwe_ids": [
"CWE-400"
],
"nvd_published_at": "2023-12-22T21:15:07Z"
}