Arbitrary Code Injection Affecting ruby-graphql package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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 Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN13-RUBYGRAPHQL-9404192
  • published14 Mar 2025
  • disclosed12 Mar 2025

Introduced: 12 Mar 2025

NewCVE-2025-27407  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 ruby-graphql.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-graphql package and not the ruby-graphql package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

graphql-ruby is a Ruby implementation of GraphQL. Starting in version 1.11.5 and prior to versions 1.11.8, 1.12.25, 1.13.24, 2.0.32, 2.1.14, 2.2.17, and 2.3.21, loading a malicious schema definition in GraphQL::Schema.from_introspection (or GraphQL::Schema::Loader.load) can result in remote code execution. Any system which loads a schema by JSON from an untrusted source is vulnerable, including those that use GraphQL::Client to load external schemas via GraphQL introspection. Versions 1.11.8, 1.12.25, 1.13.24, 2.0.32, 2.1.14, 2.2.17, and 2.3.21 contain a patch for the issue.