mittel5.3Noch keine CVE
GHSA-3h96-34p3-xm76
GraphQL-Ruby's Ruby lexer does not count comment tokens for the purposes of max_query_string_tokens
Auswirkung
GraphQL-Ruby's `max_query_string_tokens` configuration didn't count comment tokens against the limit, allowing strings to be processed even after the configured maximum had actually been reached. In patched versions, the Ruby lexer does count these tokens. GraphQL-CParser is not affected by this problem. `max_query_string_tokens` was introduced in v2.3.1. Each 2.x version has received a new patch release for including a fix.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rubygems | graphql | = 2.6.0 | 2.6.1 |
| rubygems | graphql | >= 2.5.0, < 2.5.26 | 2.5.26 |
| rubygems | graphql | >= 2.4.0, < 2.4.18 | 2.4.18 |
| rubygems | graphql | >= 2.3.1, < 2.3.23 | 2.3.23 |