ash_graphql is vulnerable to Denial of Service
87
High Risk
The AshGraphql.Graphql.Resolver.query_complexity/3 function only multiplies child complexity for offset pagination that uses a limit argument. Relay connections and keyset pagination use first/last arguments, which fall through to a catch-all clause returning child_complexity + 1. Deeply nested relay queries therefore report trivial complexity scores while executing very large database reads, bypassing Absinthe complexity limits and enabling denial of service. The fix extends complexity calculation to first/last pagination arguments.
You are affected if you are using a version that falls within the vulnerable range and you expose Relay connection or keyset pagination.
ash_graphql is vulnerable to Denial of Service in versions 0.16.23 - 1.10.1.
Upgrade the ash_graphql library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.