Apollo Gateway Excessive Resource Consumption Vulnerability Leading to Denial-of-Service

Vulnerability

A denial-of-service vulnerability has been identified in Apollo Gateway versions prior to 2.10.1. The issue arises when queries contain deeply nested and reused named fragments, which can complicate the query planning process. This complexity prevents the query planner from applying certain optimizations that typically speed up processing, resulting in significantly longer planning times. The lack of a timeout in the query planner allows a small number of such queries to disrupt gateway operations, causing excessive resource consumption and rendering the gateway inoperable.

Impact

Exploitation of this vulnerability can lead to uncontrolled resource consumption, causing the Apollo Gateway to become inoperable.

Remediation

Users can upgrade to Apollo Gateway version 2.10.1 to address this vulnerability. This version includes a new 'Query Optimization Limit' metric that helps prevent excessive computation by approximating the number of selections that cannot be optimized, thus avoiding prolonged query planning times.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
5.2
impact
2.5
exploitability
8.3
remediation
7.7
relevance
0.0
threat
0.0
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.