GitHub Advisory Database
GHSA-9xp9-j92r-p88v
Parse Server crash via deeply nested query condition operators
Details
Impact
An unauthenticated attacker can crash the Parse Server process by sending a single request with deeply nested query condition operators. This terminates the server and denies service to all connected clients.
Patches
A depth limit for query condition operator nesting has been added via the requestComplexity.queryDepth server option. The option is disabled by default to avoid a breaking change. To mitigate, upgrade and set the option to a value appropriate for your app.
Workarounds
None.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | parse-server | From 9.0.0 before 9.6.0-alpha.21 (fixed in 9.6.0-alpha.21) |
| npm | parse-server | All versions before 8.6.45 (fixed in 8.6.45) |