Description
Parse Server is an open source http web server backend. In versions prior to 4.10.7 there is a Remote Code Execution (RCE) vulnerability in Parse Server. This vulnerability affects Parse Server in the default configuration with MongoDB. The main weakness that leads to RCE is the Prototype Pollution vulnerable code in the file `DatabaseController.js`, so it is likely to affect Postgres and any other database backend as well. This vulnerability has been confirmed on Linux (Ubuntu) and Windows. Users are advised to upgrade as soon as possible. The only known workaround is to manually patch your installation with code referenced at the source GHSA-p6h4-93qp-jhcm.
Remediation
References
https://github.com/parse-community/parse-server/commit/886bfd7cac69496e3f73d4bb536f0eec3cba0e4d
https://github.com/parse-community/parse-server/security/advisories/GHSA-p6h4-93qp-jhcm
https://www.huntr.dev/bounties/ac24b343-e7da-4bc7-ab38-4f4f5cc9d099/
Related Vulnerabilities
CVE-2021-41184 Vulnerability in npm package jquery-ui
CVE-2021-21307 Vulnerability in maven package org.lucee:lucee
CVE-2020-27543 Vulnerability in npm package restify-paginate
CVE-2019-13127 Vulnerability in npm package mxgraph
CVE-2022-25312 Vulnerability in maven package org.apache.any23:apache-any23