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-2019-11343 Vulnerability in maven package org.torpedoquery:org.torpedoquery
CVE-2022-25923 Vulnerability in npm package exec-local-bin
CVE-2021-21290 Vulnerability in maven package io.netty:netty-codec-http
CVE-2013-2187 Vulnerability in maven package org.apache.archiva:archiva
CVE-2022-33987 Vulnerability in maven package org.webjars.npm:got