Vulnerability identifier: #VU82441
Vulnerability risk: Medium
CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-400
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
graphql-js
Universal components / Libraries /
Programming Languages & Components
Vendor: GraphQL Foundation
Description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient checks in the OverlappingFieldsCanBeMergedRule.ts file when parsing large queries. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
graphql-js: 16.0.0 - 16.8.0
External links
http://github.com/graphql/graphql-js/commit/f94b511386c7e47bd0380dcd56553dc063320226
http://github.com/graphql/graphql-js/pull/3972
http://security.snyk.io/vuln/SNYK-JS-GRAPHQL-5905181
http://github.com/graphql/graphql-js/issues/3955
http://github.com/graphql/graphql-js/releases/tag/v16.8.1
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.