{"id":"GHSA-pfrg-qg4f-grmv","aliases":["GHSA-pfrg-qg4f-grmv","RUSTSEC-2026-0415"],"related":[],"kind":"vulnerability","state":"published","title":"Unbounded memory use on large request bodies","summary":"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.\n\n`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.","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"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.\n\n`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.","format":"markdown","source":"rustsec"}],"published":"2026-10-28T12:00:00.000Z","modified":"2026-10-29T14:15:02.336Z","severity":{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.10.1"}],"ecosystem":"crates.io","package":"juniper_hyper","purl":"pkg:cargo/juniper_hyper","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/juniper_hyper","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0415.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/graphql-rust/juniper/pull/1405","tags":["web"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0415","url":"https://rustsec.org/advisories/RUSTSEC-2026-0415.html","licence":"CC0-1.0","modified":"2026-10-29T14:15:02.336Z"}],"updatedAt":"2026-11-25T22:56:43.456Z"}