Skip to main content
← All vulnerabilities
CVE-2024-28101GHSA-CGQF-3CQ5-WVCJ

Apollo Router's Compressed Payloads do not respect HTTP Payload Limits

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.40.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

The Apollo Router is a graph router written in Rust to run a federated supergraph that uses Apollo Federation. Versions 0.9.5 until 1.40.2 are subject to a Denial-of-Service (DoS) type vulnerability. When receiving compressed HTTP payloads, affected versions of the Router evaluate the `limits.http_max_request_bytes` configuration option after the entirety of the compressed payload is decompressed. If affected versions of the Router receive highly compressed payloads, this could result in significant memory consumption while the compressed payload is expanded. Router version 1.40.2 has a fix for the vulnerability. Those who are unable to upgrade may be able to implement mitigations at proxies or load balancers positioned in front of their Router fleet (e.g. Nginx, HAProxy, or cloud-native WAF services) by creating limits on HTTP body upload size.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • apollographql router

    From 0.9.5 · fixed in 1.40.2

  • apollo-routercrates.io

    From 0.9.5 · fixed in 1.40.2

References 2

GitHub · apollographql/router