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-2022-23221 Vulnerability in maven package com.h2database:h2
CVE-2021-3827 Vulnerability in maven package org.keycloak:keycloak-server-spi-private
CVE-2017-18352 Vulnerability in npm package rendertron-middleware
CVE-2022-48216 Vulnerability in npm package @uniswap/universal-router
CVE-2022-36919 Vulnerability in maven package org.jenkins-ci.plugins:coverity