原始 OSV JSON{
"id": "GHSA-3h96-34p3-xm76",
"aliases": [],
"details": "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. \n\nIn patched versions, the Ruby lexer does count these tokens. \n\nGraphQL-CParser is not affected by this problem. \n\n`max_query_string_tokens` was introduced in v2.3.1. Each 2.x version has received a new patch release for including a fix.",
"summary": "GraphQL-Ruby's Ruby lexer does not count comment tokens for the purposes of max_query_string_tokens",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.0"
},
{
"fixed": "2.6.1"
}
]
}
],
"package": {
"name": "graphql",
"ecosystem": "RubyGems"
},
"versions": [
"2.6.0"
]
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.5.0"
},
{
"fixed": "2.5.26"
}
]
}
],
"package": {
"name": "graphql",
"ecosystem": "RubyGems"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.4.0"
},
{
"fixed": "2.4.18"
}
]
}
],
"package": {
"name": "graphql",
"ecosystem": "RubyGems"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.3.1"
},
{
"fixed": "2.3.23"
}
]
}
],
"package": {
"name": "graphql",
"ecosystem": "RubyGems"
}
}
],
"modified": "2026-05-05T21:51:15Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"published": "2026-05-05T21:51:15Z",
"references": [
{
"url": "https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-3h96-34p3-xm76",
"type": "WEB"
},
{
"url": "https://github.com/rmosolgo/graphql-ruby",
"type": "PACKAGE"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-770"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2026-05-05T21:51:15Z"
}
}