Skip to content
Heist/ feed
Back to feed
HighFix available

Denial of service on deeply nested fragment requests

Type: advisorySources: OSV

Deeply nested fragments in a GraphQL request may cause a stack overflow in the server.

Products
juniper
Affected versions
Not specified
Fixed versions
0.15.10
CVEs
CVE-2022-31173
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 08:41 UTC · Revision 1

Source evidence

Denial of service on deeply nested fragment requests

core-osv · Original source

Published 28 Jul 2022, 12:00 UTC

Deeply nested fragments in a GraphQL request may cause a stack overflow in the server.

osv:RUSTSEC-2022-0038

juniper

Fixed versions: 0.15.10

Complete source record
{
  "id": "56a68c66d86fdcf38fa5b58ea9addd14ecd4d37a2f0a7bc90de21af83466a5aa",
  "url": "https://osv.dev/vulnerability/RUSTSEC-2022-0038",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Denial of service on deeply nested fragment requests",
    "summary": "Deeply nested fragments in a GraphQL request may cause a stack overflow in the server.",
    "evidence": "osv:RUSTSEC-2022-0038",
    "products": [
      {
        "name": {
          "value": "juniper",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.15.10",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "RUSTSEC-2022-0038",
      "aliases": [
        "CVE-2022-31173",
        "GHSA-4rx6-g5vg-5f3j",
        "RUSTSEC-2022-0038"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0.0.0-0"
                },
                {
                  "fixed": "0.15.10"
                }
              ]
            }
          ],
          "package": {
            "name": "juniper",
            "purl": "pkg:cargo/juniper",
            "ecosystem": "crates.io"
          },
          "database_specific": {
            "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0038.json",
            "categories": [
              "denial-of-service"
            ],
            "informational": null
          },
          "ecosystem_specific": {
            "affects": {
              "os": [],
              "arch": [],
              "functions": []
            },
            "affected_functions": null
          }
        }
      ],
      "modified": "2026-10-12T18:00:04.409053949Z",
      "provider": "osv",
      "references": [
        "https://crates.io/crates/juniper",
        "https://rustsec.org/advisories/RUSTSEC-2022-0038.html",
        "https://github.com/graphql-rust/juniper/commit/2b609ee057be950e3454b69fadc431d120e407bb"
      ],
      "provider_metadata": {
        "license": "CC0-1.0"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-31173",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 306336,
  "published_at": "2022-07-28T12:00:00+00:00"
}