CVE-2024-40094
Java vulnerability analysis and mitigation

Overview

GraphQL Java (aka graphql-java) before version 21.5 contains a vulnerability that does not properly consider ExecutableNormalizedFields (ENFs) as part of preventing denial of service via introspection queries. The vulnerability is tracked as CVE-2024-40094. Fixed versions include 21.5, 20.9, and 19.11 (NVD, GitHub Discussion).

Technical details

The vulnerability relates to the handling of ExecutableNormalizedFields (ENFs) in introspection queries. The issue was addressed by implementing limits on the number of ENFs created and adding depth restrictions for introspection queries. The fix includes setting a maximum field count of 500 and a maximum depth count of 20 for good faith introspection queries. The CVSS v3.1 base score is 5.3 (Medium) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (Red Hat CVE).

Impact

The vulnerability could allow an attacker to perform a denial of service (DoS) attack through introspection queries by creating an excessive number of ExecutableNormalizedFields, potentially exhausting system resources (Red Hat Advisory).

Mitigation and workarounds

Users should upgrade to one of the following fixed versions: GraphQL Java 21.5, 20.9, or 19.11. The fix implements restrictions on the number of ENFs created and adds depth limitations for introspection queries (GitHub Discussion).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • opensearch-2
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-pure-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management