VDB
Sign up
CRITICAL9.0

GHSA-6hh7-46r2-vf29

Server crashes on invalid Cloud Function or Cloud Job name

Quick fix

GHSA-6hh7-46r2-vf29 — parse-server: upgrade to the fixed version with the command below.

npm install parse-server@6.5.5

Details

### Impact

Calling an invalid Parse Server Cloud Function name or Cloud Job name crashes server and may allow for code injection.

### Patches

Added string sanitation for Cloud Function name and Cloud Job name.

### Workarounds

Sanitize the Cloud Function name and Cloud Job name before it reaches Parse Server.

### References

- https://github.com/parse-community/parse-server/security/advisories/GHSA-6hh7-46r2-vf29 - https://github.com/parse-community/parse-server/releases/tag/7.0.0-alpha.29 (Fix for Parse Server 7 alpha) - https://github.com/parse-community/parse-server/releases/tag/6.5.5 (Fix for Parse Server 6 LTS)

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/parse-server
Introduced in: 0Fixed in: 6.5.5
Fixnpm install parse-server@6.5.5
npm/parse-server
Introduced in: 7.0.0-alpha.1Fixed in: 7.0.0-alpha.29
Fixnpm install parse-server@7.0.0-alpha.29

References