Vulnerability DatabaseGHSA-fj3h-2jc3-973v

GHSA-fj3h-2jc3-973v: 
Rust vulnerability analysis and mitigation

Impact

The make_graphql_filter() and make_graphql_filter_sync() filters of juniper_warp read the whole body of a POST request into memory before they parse the body. The filters 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. Bodies of all content types were affected.

Patches

juniper_warp 0.9.1 reads at most 2 MiB of a request body by default. The filters respond with 413 Payload Too Large to larger bodies. The filters stop reading a body as soon as the body exceeds the limit. make_graphql_filter_with_body_limit() and make_graphql_filter_sync_with_body_limit() set another limit.

Workarounds

Put warp::body::content_length_limit() in front of the filter for requests other than GET. The content_length_limit() filter rejects requests with a large Content-Length header and requests without the header. GET requests carry the query in the URL and have no body.

let body_limit = warp::get()
    .or(warp::body::content_length_limit(2 * 1024 * 1024))
    .unify();
let graphql = warp::path("graphql")
    .and(body_limit)
    .and(juniper_warp::make_graphql_filter(schema, context_extractor));

References


Source: NVD

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

RUSTSEC-2026-0425HIGH7.5
  • Rust logoRust
  • nix-nar
NoYesOct 30, 2026
GHSA-2g9c-9w5g-4wrrMEDIUM5
  • Rust logoRust
  • openleadr-vtn
NoYesOct 30, 2026
RUSTSEC-2026-0428NONEN/A
  • Rust logoRust
  • orion
NoYesOct 30, 2026
RUSTSEC-2026-0426NONEN/A
  • Rust logoRust
  • orion
NoYesOct 30, 2026
GHSA-xcc6-f2jq-43x6MEDIUMN/A
  • Rust logoRust
  • orion
NoYesOct 29, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management