Miggo Logo

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

EPSS Score
0.78337%
Published
9/13/2022
Updated
1/27/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
com.graphql-java:graphql-javamaven< 17.417.4
com.graphql-java:graphql-javamaven>= 18.0, < 18.318.3

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*r*p*ql-j*v* ***or* **.*, **.*, *n* **.* is vuln*r**l* to **ni*l o* S*rvi**. *n *tt**k*r s*n* * m*li*ious *r*p*QL qu*ry t**t *onsum*s *PU r*sour**s. T** *ix** v*rsions *r* **.*, **.*, *n* **.*.

Reasoning

T** *n*lysis is **s** on t** provi*** *ommit *i**s *n* ***ition*l **s*riptions. T** vuln*r**l* *un*tions *r* i**nti*i** *s t*os* r*l*t** to t** p*rsin* o* *r*p*QL qu*ri*s *n* t** v*li**tion o* *o*um*nts. T** intro*u*tion o* S***Tok*nSour** *n* t** mo