Keystone is a content management system for Node.js. Prior to 6.5.3, the findMany resolver in packages/core/src/lib/core/queries/resolvers.ts compares the signed take argument directly with graphql.maxTake, allowing a remote unauthenticated GraphQL client to provide a negative take value whose magnitude exceeds the configured bound. The bypass also applies to relationship queries and can return more records than the developer intended, potentially exhausting service resources. This issue is fixed in version 6.5.3.
https://github.com/keystonejs/keystone/security/advisories/GHSA-cqmq-8755-7xvh
https://github.com/keystonejs/keystone/releases/tag/@keystone-6/[email protected]
https://github.com/keystonejs/keystone/pull/9859
https://github.com/keystonejs/keystone/commit/9fb88b246950ce4de754a43fe6416f20403577b1