CVE-2024-28101: Apollo Router's Compressed Payloads do not respect HTTP Payload Limits
Impact The Apollo Router is a configurable, high-performance graph router written in Rust to run a federated supergraph that uses Apollo Federation. Affected versions are subject to a Denial-of-Service (DoS) type vulnerability. When receiving compressed HTTP payloads, affected versions of the Router evaluate the limits.httpmaxrequestbytes 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.
Patches Router version 1.40.2 has a fix for the vulnerability.
Workarounds If you are unable to upgrade, you may be able to implement mitigations at proxies or load balancers positioned in front of your Router fleet (e.g. Nginx, HAProxy, or cloud-native WAF services) by creating limits on HTTP body upload size.
Other sources
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.httpmaxrequestbytes 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.
— NVD
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-28101?
CVE-2024-28101 has a severity rating that indicates it can lead to a Denial-of-Service (DoS) vulnerability.
How do I fix CVE-2024-28101?
To fix CVE-2024-28101, upgrade the Apollo Router to version 1.40.2 or later.
Which versions of Apollo Router are affected by CVE-2024-28101?
CVE-2024-28101 affects versions of Apollo Router between 0.9.5 and 1.40.2.
What type of vulnerability is CVE-2024-28101?
CVE-2024-28101 is classified as a Denial-of-Service (DoS) type vulnerability.
Can CVE-2024-28101 affect my application performance?
Yes, CVE-2024-28101 can potentially degrade application performance due to its Denial-of-Service nature.