CVE-2022-37734 is a high-severity (CVSS 7.5) vulnerability in com.graphql-java:graphql-java. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for com.graphql-java:graphql-java — see the affected versions and patch details below.
graphql-java vulnerable to Denial of Service via GraphQL query that consumes CPU resources
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
com.graphql-java:graphql-java☕com.graphql-java:graphql-javaReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
graphql-java before19.0 is vulnerable to Denial of Service. An attacker can send a malicious GraphQL query that consumes CPU resources. The fixed versions are 19.0 and later, 18.3, and 17.4, and 0.0.0-2022-07-26T05-45-04-226aabd9.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.graphql-java:graphql-java | all versions | 17.4com.graphql-java:graphql-java:17.4 |
| ☕Maven | com.graphql-java:graphql-java | ≥ 18.0&&< 18.3 | 18.3com.graphql-java:graphql-java:18.3 |
Affected Products
graphql-javagraphql-java_projectResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.graphql-java:graphql-java, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.graphql-java:graphql-java to 17.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-37734 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat build of Eclipse Vert.x 4.3.3 | graphql-java | RHSA-2022:6757 |
| Red Hat build of Quarkus 2.13.5 | see advisory | RHSA-2022:9023 |
| RHINT Service Registry 2.3.0 GA | graphql-java | RHSA-2022:6835 |
Frequently Asked Questions
Is CVE-2022-37734 in your dependencies?
Find it across Maven, including transitive dependencies.