# CVE-2022-31173: Juniper is vulnerable to @DOS GraphQL Nested Fragments overflow

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.72%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-07-28T12:00:00.000Z
- Modified: 2026-10-12T18:00:04.409Z
- Also known as: GHSA-4rx6-g5vg-5f3j, RUSTSEC-2022-0038
- Related: RUSTSEC-2022-0037, GHSA-xq3c-8gqm-v648
- Weaknesses: CWE-400, CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Juniper is a GraphQL server library for Rust. Affected versions of Juniper are vulnerable to uncontrolled recursion resulting in a program crash. This issue has been addressed in version 0.15.10. Users are advised to upgrade. Users unable to upgrade should limit the recursion depth manually.

(As written by CVE List.)

## Affected

- graphql-rust juniper: < 0.15.10
- juniper (crates.io): before 0.15.10; from 0.0.0-0 before 0.15.10
- juniper_project juniper: before 0.15.10

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/graphql-rust/juniper/security/advisories/GHSA-4rx6-g5vg-5f3j> (exploit, third-party-advisory, web)
- <https://github.com/graphql-rust/juniper/commit/2b609ee057be950e3454b69fadc431d120e407bb> (patch, third-party-advisory, web)
- <https://github.com/graphql-rust/juniper/commit/8d28cdba6eb10f53490ba41d1b5cb40506c2de22> (patch, third-party-advisory, web)
- <https://github.com/graphql-rust/juniper/blob/juniper-v0.15.10/juniper/CHANGELOG.md#01510-2022-07-28> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31173> (advisory)
- <https://github.com/graphql-rust/juniper> (package)
- <https://rustsec.org/advisories/RUSTSEC-2022-0038.html> (advisory, web)
- <https://crates.io/crates/juniper> (package)

## Sources

- CVE List: [CVE-2022-31173](https://www.cve.org/CVERecord?id=CVE-2022-31173), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-4rx6-g5vg-5f3j](https://github.com/advisories/GHSA-4rx6-g5vg-5f3j), CC-BY-4.0, modified 2026-02-04
- RustSec Advisory Database: [RUSTSEC-2022-0038](https://rustsec.org/advisories/RUSTSEC-2022-0038.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2022-31173](https://nvd.nist.gov/vuln/detail/CVE-2022-31173), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31173 · Whole record: https://cve.day/CVE-2022-31173.json · Rebuilt by cve.day 2026-11-25T22:58:13.341Z
