You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ResolveInfo::getFieldSelection(), getFieldSelectionWithAliases() and lookAhead() throw once they visit more than ResolveInfo::MAX_LOOK_AHEAD_FIELDS (100000) fields, fragments and merged keys, counting every entry of a reused fragment's result, argument names included, and each list as one entry GHSA-mv4h-fwrm-xmjg
ResolveInfo::getFieldSelection(), getFieldSelectionWithAliases() and QueryPlan::queryPlan() list fields in document order; fields of a fragment spread no longer come before the fields selected ahead of it GHSA-mv4h-fwrm-xmjg
QueryPlan::getReferencedFields() and subFields() list fields in the order the query first selects them: a field now comes before the fields nested in it, and getReferencedFields() is no longer grouped by type GHSA-mv4h-fwrm-xmjg
ResolveInfo::getFieldSelectionWithAliases() and lookAhead() merge the arguments of a field reached through several fragments by argument name, instead of recursively into their values GHSA-mv4h-fwrm-xmjg
Fixed
Denial of Service via exponential complexity in ResolveInfo::getFieldSelection(), getFieldSelectionWithAliases() and lookAhead() through repeated fragment spreads GHSA-mv4h-fwrm-xmjg
ResolveInfo::getFieldSelection() returns true for a leaf field selected more than once, instead of a list of trueGHSA-mv4h-fwrm-xmjg
ResolveInfo::getFieldSelection() keeps a field's subtree when the same field name is also selected as a leaf on another type, instead of dropping it or throwing a TypeErrorGHSA-mv4h-fwrm-xmjg