{
  "schema_version": "1.4.0",
  "id": "GHSA-p4qx-6w5p-4rj2",
  "modified": "2023-04-03T20:55:06Z",
  "published": "2023-03-27T03:30:16Z",
  "aliases": [
    "CVE-2023-28867"
  ],
  "summary": "GraphQL Java vulnerable to stack consumption",
  "details": "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Maven",
        "name": "com.graphql-java:graphql-java"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.0.0-2023-03-20T01-49-44-80e3135"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Maven",
        "name": "com.graphql-java:graphql-java"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.2"
            },
            {
              "fixed": "17.5"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Maven",
        "name": "com.graphql-java:graphql-java"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "18.0"
            },
            {
              "fixed": "18.4"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Maven",
        "name": "com.graphql-java:graphql-java"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "19.0"
            },
            {
              "fixed": "19.4"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Maven",
        "name": "com.graphql-java:graphql-java"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "20.0"
            },
            {
              "fixed": "20.1"
            }
          ]
        }
      ],
      "versions": [
        "20.0"
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-28867"
    },
    {
      "type": "WEB",
      "url": "https://github.com/graphql-java/graphql-java/pull/3112"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/graphql-java/graphql-java"
    },
    {
      "type": "WEB",
      "url": "https://github.com/graphql-java/graphql-java/releases/tag/v17.5"
    },
    {
      "type": "WEB",
      "url": "https://github.com/graphql-java/graphql-java/releases/tag/v18.4"
    },
    {
      "type": "WEB",
      "url": "https://github.com/graphql-java/graphql-java/releases/tag/v19.4"
    },
    {
      "type": "WEB",
      "url": "https://github.com/graphql-java/graphql-java/releases/tag/v20.1"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-770"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-03-27T21:22:36Z",
    "nvd_published_at": "2023-03-27T01:15:00Z"
  }
}