VDB
KO
HIGH

GHSA-4263-jgmp-7pf4

Parse Server's Cloud function dispatch crashes server via prototype chain traversal

Details

### Impact

Remote clients can crash the Parse Server process by calling a cloud function endpoint with a crafted function name that traverses the JavaScript prototype chain of a registered cloud function handler, causing a stack overflow.

### Patches

The fix restricts property lookups during cloud function name resolution to own properties only, preventing prototype chain traversal from stored function handlers.

### Workarounds

There is no known workaround.

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

References