CVE-2022-37734: graphql-java vulnerable to Denial of Service via GraphQL query that consumes CPU resources
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78337%
CWE
Published
9/13/2022
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| com.graphql-java:graphql-java | maven | < 17.4 | 17.4 |
| com.graphql-java:graphql-java | maven | >= 18.0, < 18.3 | 18.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The analysis is based on the provided commit diffs and additional descriptions. The vulnerable functions are identified as those related to the parsing of GraphQL queries and the validation of documents. The introduction of SafeTokenSource and the modification of Parser and ParserOptions classes are key to preventing DoS attacks.