HIGH 7.5
CVE-2022-37734
graphql-java vulnerable to Denial of Service via GraphQL query that consumes CPU resources
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.graphql-java » graphql-java | < 17.4>= 18.0, < 18.3 | 17.4, 18.3 |
Blast radius
1affected artifacts
1,692affected versions
1,313dependent artifacts (est.)
148,062dependent versions
56% of the dependent artifacts (740) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 19,218 |
| 2 hops | 33,983 |
| 3 hops | 68,892 |
| 4 hops | 20,746 |
| 5 hops | 4,319 |
| 6 hops | 904 |
Most used dependents
- com.graphql-java » graphql-java-extended-scalars141 usages
- org.wso2.carbon.apimgt » org.wso2.carbon.apimgt.impl126 usages
- org.wso2.carbon.apimgt » org.wso2.carbon.apimgt.api83 usages
- org.springframework.boot » spring-boot-starter-graphql82 usages
- io.github.graphql-java » graphql-java-annotations57 usages
- com.wuyushuo » spring-dollar49 usages
- com.gentics.mesh » mesh-test-common47 usages
- com.graphql-java-kickstart » graphql-java-tools47 usages
- com.smartbear.soapui » soapui44 usages
- com.smartbear » ready-api-soapui-pro42 usages
- org.springframework.graphql » spring-graphql-test41 usages
- com.graphql-java-kickstart » graphql-java-servlet40 usages
- com.atlassian.confluence » confluence-acceptance-test39 usages
- com.graphql-java-kickstart » graphql-spring-boot-starter39 usages
- com.buschmais.jqassistant » jqassistant-maven-plugin39 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2022-37734 | nvd.nist.gov |
| Package | graphql-java/graphql-java | github.com |
| Web | graphql-java/graphql-java issue #2888 | github.com |
| Web | graphql-java/graphql-java pull request #2892 | github.com |
| Web | graphql-java/graphql-java/discussions/2958 | github.com |
| Web | graphql-java/graphql-java/releases | github.com |
| Web | vuln/SNYK-JAVA-COMGRAPHQLJAVA-3021519 | security.snyk.io |
