Data Amplification Affecting apollo-router package, versions <1.40.2-rc0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUST-APOLLOROUTER-6406555
- published 7 Mar 2024
- disclosed 6 Mar 2024
- credit Ivan Goncharov
Introduced: 6 Mar 2024
CVE-2024-28101 Open this link in a new tabHow to fix?
Upgrade apollo-router
to version 1.40.2-rc0 or higher.
Overview
apollo-router is a configurable, high-performance routing runtime for Apollo Federation.
Affected versions of this package are vulnerable to Data Amplification due to the evaluation of the limits.http_max_request_bytes
configuration option after decompressing the entirety of compressed HTTP payloads. If highly compressed payloads are received, this could lead to significant memory consumption as the payload expands.
Workaround
This vulnerability can be mitigated by implementing limits on HTTP body upload size at proxies or load balancers positioned in front of the Router fleet, such as Nginx, HAProxy, or cloud-native WAF services.