Advisories
Listed

graphql: GraphQL-Ruby's Ruby lexer does not count comment tokens for the purposes of max_query_string_tokens

It is on record here. It does not touch anything Phylax follows closely.

Does it affect what I run?

graphql (RubyGems)

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • graphql (RubyGems): from 2.6.0, before 2.6.1
  • graphql (RubyGems): from 2.5.0, before 2.5.26
  • graphql (RubyGems): from 2.4.0, before 2.4.18
  • graphql (RubyGems): from 2.3.1, before 2.3.23

The fix

  • graphql (RubyGems) fixed in 2.6.1

    bundler
    bundle update --conservative graphql
    Check what is installed
    bundle info graphql
    Paste into Cursor, Lovable or Claude Code
    Upgrade the RubyGems dependency graphql to 2.6.1 or the nearest later release, to fix GHSA-3h96-34p3-xm76. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • graphql (RubyGems) fixed in 2.5.26

    bundler
    bundle update --conservative graphql
    Check what is installed
    bundle info graphql
    Paste into Cursor, Lovable or Claude Code
    Upgrade the RubyGems dependency graphql to 2.5.26 or the nearest later release, to fix GHSA-3h96-34p3-xm76. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • graphql (RubyGems) fixed in 2.4.18

    bundler
    bundle update --conservative graphql
    Check what is installed
    bundle info graphql
    Paste into Cursor, Lovable or Claude Code
    Upgrade the RubyGems dependency graphql to 2.4.18 or the nearest later release, to fix GHSA-3h96-34p3-xm76. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • graphql (RubyGems) fixed in 2.3.23

    bundler
    bundle update --conservative graphql
    Check what is installed
    bundle info graphql
    Paste into Cursor, Lovable or Claude Code
    Upgrade the RubyGems dependency graphql to 2.3.23 or the nearest later release, to fix GHSA-3h96-34p3-xm76. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

No evidence that it is being used, or can be. It is listed because of what it affects.

Timeline

  1. First published here, as "Listed".