VDB
KO
HIGH

GHSA-g4cf-xj29-wqqr

Parse Server: Denial of Service via unindexed database query for unconfigured auth providers

Details

### Impact

An unauthenticated attacker can cause Denial of Service by sending authentication requests with arbitrary, unconfigured provider names. The server executes a database query for each unconfigured provider before rejecting the request, and since no database index exists for unconfigured providers, each request triggers a full collection scan on the user database. This can be parallelized to saturate database resources.

### Patches

The fix validates that an authentication provider is configured before executing any database query. Requests with unconfigured providers are now rejected immediately without querying the database.

### Workarounds

There is no known workaround other than upgrading.

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.52
Fix npm install parse-server@9.6.0-alpha.52
npm / parse-server
Introduced in: 0 Fixed in: 8.6.58
Fix npm install parse-server@8.6.58

References