ADVISORIES

GitHub Advisory Database

GHSA-6qh5-m6g3-xhq6

Parse Server LiveQuery subscription query depth bypass

Details

Impact

Parse Server's LiveQuery component does not enforce the requestComplexity.queryDepth configuration setting when processing WebSocket subscription requests. An attacker can send a subscription with deeply nested logical operators, causing excessive recursion and CPU consumption that degrades or disrupts service availability.

Deployments are affected when the LiveQuery WebSocket endpoint is reachable by untrusted clients.

Patches

The fix adds query condition depth validation to the LiveQuery subscription handler, enforcing the same requestComplexity.queryDepth limit that already protects REST API queries.

Workarounds

There is no known workaround other than upgrading.

Affected packages

EcosystemPackageAffected versions
npmparse-server
From 9.0.0 before 9.6.0-alpha.45 (fixed in 9.6.0-alpha.45)
npmparse-server
All versions before 8.6.56 (fixed in 8.6.56)

References