GitHub Advisory Database
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | parse-server | From 9.0.0 before 9.6.0-alpha.24 (fixed in 9.6.0-alpha.24) |
| npm | parse-server | All versions before 8.6.47 (fixed in 8.6.47) |