Description
Versions of the package graphql from 16.3.0 and before 16.8.1 are vulnerable to Denial of Service (DoS) due to insufficient checks in the OverlappingFieldsCanBeMergedRule.ts file when parsing large queries. This vulnerability allows an attacker to degrade system performance. **Note:** It was not proven that this vulnerability can crash the process.
Remediation
References
https://github.com/graphql/graphql-js/commit/f94b511386c7e47bd0380dcd56553dc063320226
https://github.com/graphql/graphql-js/issues/3955
https://github.com/graphql/graphql-js/pull/3972
https://github.com/graphql/graphql-js/releases/tag/v16.8.1
https://security.snyk.io/vuln/SNYK-JS-GRAPHQL-5905181
Related Vulnerabilities
CVE-2019-10759 Vulnerability in maven package org.webjars.npm:safer-eval
CVE-2023-31582 Vulnerability in maven package org.bitbucket.b_c:jose4j
CVE-2023-3815 Vulnerability in maven package com.ruoyi:ruoyi
CVE-2022-44729 Vulnerability in maven package org.apache.xmlgraphics:batik-svgrasterizer
CVE-2020-26296 Vulnerability in maven package org.webjars.npm:vega