Uncontrolled Resource Consumption ('Resource Exhaustion') Affecting github.com/99designs/gqlgen/graphql/handler package, versions <0.17.49
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.04% (11th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOM99DESIGNSGQLGENGRAPHQLHANDLER-7252139
- published 14 Jun 2024
- disclosed 12 Jun 2024
- credit Yuval Moravchick
Introduced: 12 Jun 2024
CVE-2023-49559 Open this link in a new tabHow to fix?
Upgrade github.com/99designs/gqlgen/graphql/handler
to version 0.17.49 or higher.
Overview
Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') due to improper limiting of the number of directives sent through the parserDirectives
function. An attacker can cause a denial of service by sending a specially crafted script.
PoC
query {
user @aa @aa @aa ... {
name
}
}
Replace ...
with as many @aa
as you need. The more you add, the larger the response size and time processed.
CVSS Scores
version 3.1