Intel

AIKIDO-2026-747306

apollo-router is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-m5q4-q9rr-m3vr Published 5 days ago

75

High Risk

This Affects:

RUSTapollo-router
2.0.0 - 2.10.4
Fixed in 2.10.5
2.11.0 - 2.16.0
Fixed in 2.16.1
Are you affected? Scan for Free

TL;DR

Apollo Router demand control estimates an operation's cost before execution and rejects operations exceeding a configured maximum when running in enforce mode. A client-supplied negative @listSize slicing argument, or a configured list size exceeding the signed 32-bit integer range, can drive an operation's estimated cost negative. A negative contribution offsets the cost of sibling fields so that an otherwise-expensive operation passes enforcement while the expensive work still executes. The fix clamps negative slicing values to zero and uses a saturating conversion so an estimated cost can no longer be driven below zero.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you have demand control enabled in enforce mode.

Background info

apollo-router is vulnerable to Denial of Service (DoS) in versions 2.0.0 - 2.10.4 and 2.11.0 - 2.16.0.

How to fix this

Upgrade the apollo-router library to the patch version.