Vulnerability library
Security checkNovember 12, 2023

graphql Uncontrolled Resource Consumption vulnerability

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmgraphql

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

Update the graphql package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 16.3.0, < 16.8.1
  • Patched version(s): 16.8.1

References

Could your website be exposed too?

SmartScanner can check your website for graphql Uncontrolled Resource Consumption vulnerability and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 12, 2023