GitHub Advisory Database
GHSA-v62j-cxhh-fq22
graphql-java vulnerable to Denial of Service via GraphQL query that consumes CPU resources
Details
graphql-java before 19.0, 18.3, and 17.4 is vulnerable to Denial of Service. An attacker send a malicious GraphQL query that consumes CPU resources. The fixed versions are 19.0, 18.3, and 17.4.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.graphql-java:graphql-java | All versions before 17.4 (fixed in 17.4) |
| Maven | com.graphql-java:graphql-java | From 18.0 before 18.3 (fixed in 18.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-37734
- https://github.com/graphql-java/graphql-java/issues/2888
- https://github.com/graphql-java/graphql-java/pull/2892
- https://github.com/graphql-java/graphql-java
- https://github.com/graphql-java/graphql-java/discussions/2958
- https://github.com/graphql-java/graphql-java/releases
- https://security.snyk.io/vuln/SNYK-JAVA-COMGRAPHQLJAVA-3021519