Advisory

RUSTSEC-2026-0415

Also known as: GHSA-pfrg-qg4f-grmv

Summary

Unbounded memory use on large request bodies

Details

The graphql() and graphql_sync() functions of juniper_hyper read the whole body of a POST request into memory before they parsed the body. The functions had no limit on the size of the body. A client could thus send a large body and exhaust the memory of the server. The request needs no authentication.

juniper_hyper 0.10.1 reads at most 2 MiB of a request body by default. The functions respond with 413 Payload Too Large to larger bodies. A juniper_hyper::BodyLimit in the extensions of a request changes the limit for the request.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-10-28 12:00 UTC
Modified
2026-10-29 14:15 UTC

Affected packages and fixes

juniper_hyper

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.10.1 (semver)

Fixed versions

0.10.1

Fix

  • Fixed version 0.10.1
    cargo update -p juniper_hyper --precise 0.10.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences