VDB
KO
HIGH

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / parse-server
Introduced in: 9.0.0 Fixed in: 9.6.0-alpha.21
Fix npm install parse-server@9.6.0-alpha.21
npm / parse-server
Introduced in: 0 Fixed in: 8.6.45
Fix npm install parse-server@8.6.45

References