parse-server@4.10.16 vulnerabilities

An express module providing a Parse-compatible API server

Direct Vulnerabilities

Known vulnerabilities in the parse-server package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
Improper Input Validation

parse-server is a version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

Affected versions of this package are vulnerable to Improper Input Validation for Cloud Function names and Cloud Job names. Exploiting this vulnerability allows an attacker to cause a denial of service or execute arbitrary code by sending a specially crafted request.

How to fix Improper Input Validation?

Upgrade parse-server to version 6.5.5, 7.0.0-alpha.29 or higher.

<6.5.5 >=7.0.0-alpha.1 <7.0.0-alpha.29
  • C
SQL Injection

parse-server is a version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

Affected versions of this package are vulnerable to SQL Injection via a malicious PostgreSQL statement containing multiple quoted strings. This vulnerability is only present when the PostgreSQL engine is in use.

How to fix SQL Injection?

Upgrade parse-server to version 6.5.0, 7.0.0-alpha.20 or higher.

<6.5.0 >=7.0.0-alpha.1 <7.0.0-alpha.20
  • H
Uncontrolled Resource Consumption ('Resource Exhaustion')

parse-server is a version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') via the file upload function. An attacker can cause the server to crash by uploading a file without an extension.

How to fix Uncontrolled Resource Consumption ('Resource Exhaustion')?

Upgrade parse-server to version 5.5.6, 6.3.1 or higher.

>=1.0.0 <5.5.6 >=6.0.0 <6.3.1
  • H
Access Restriction Bypass

parse-server is a version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

Affected versions of this package are vulnerable to Access Restriction Bypass via the beforeFind trigger in the Parse Cloud. An attacker can bypass security layers and modify incoming queries by exploiting certain conditions in Parse.Query. This is only exploitable if the beforeFind trigger is used as a security layer to modify the incoming query.

How to fix Access Restriction Bypass?

Upgrade parse-server to version 5.5.5, 6.2.2 or higher.

>=1.0.0 <5.5.5 >=6.0.0 <6.2.2
  • C
Prototype Pollution

parse-server is a version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

Affected versions of this package are vulnerable to Prototype Pollution in the MongoDB BSON parser, which allows attackers to execute code on the affected system.

How to fix Prototype Pollution?

Upgrade parse-server to version 5.5.2, 6.2.1 or higher.

<5.5.2 >=6.0.0-alpha.1 <6.2.1
  • M
Arbitrary File Upload

parse-server is a version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

Affected versions of this package are vulnerable to Arbitrary File Upload such that a malicious user could upload an HTML file to Parse Server via its public API. That HTML file would then be accessible at the internet domain at which Parse Server is hosted. The URL of the uploaded HTML could be shared for phishing attacks. The HTML page may seem legitimate because it is served under the internet domain where Parse Server is hosted, which may be the same as a company's official website domain.

Note:

An additional security issue arises when the Parse JavaScript SDK is used. The SDK stores sessions in the internet browser's local storage, which usually restricts data access depending on the internet domain. A malicious HTML file could contain a script that retrieves the user's session token from local storage and then share it with the attacker.

How to fix Arbitrary File Upload?

Upgrade parse-server to version 5.5.0, 6.2.0 or higher.

<5.5.0 >=6.0.0 <6.2.0
  • H
Authentication Bypass

parse-server is a version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

Affected versions of this package are vulnerable to Authentication Bypass due to insufficient checks in the mechanism used to determine the client's IP address.

How to fix Authentication Bypass?

Upgrade parse-server to version 5.4.1 or higher.

<5.4.1
  • H
Prototype Pollution

parse-server is a version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

Affected versions of this package are vulnerable to Prototype Pollution such that a compromised Parse Server Cloud Code Webhook target endpoint allows an attacker to use prototype pollution to bypass the Parse Server requestKeywordDenylist option.

How to fix Prototype Pollution?

Upgrade parse-server to version 4.10.20, 5.3.3 or higher.

<4.10.20 >=5.0.0 <5.3.3
  • H
Prototype Pollution

parse-server is a version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

Affected versions of this package are vulnerable to Prototype Pollution such that keywords that are specified in the Parse Server option requestKeywordDenylist can be injected via Cloud Code Webhooks or Triggers. This will result in the keyword being saved to the database, bypassing the requestKeywordDenylist option.

How to fix Prototype Pollution?

Upgrade parse-server to version 4.10.19, 5.3.2 or higher.

<4.10.19 >=5.0.0 <5.3.2
  • C
Prototype Pollution

parse-server is a version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

Affected versions of this package are vulnerable to Prototype Pollution due to insufficient validation checks which can allow an attacker to trigger remote code execution.

How to fix Prototype Pollution?

Upgrade parse-server to version 4.10.18, 5.3.1 or higher.

<4.10.18 >=5.0.0 <5.3.1
  • H
Denial of Service (DoS)

parse-server is a version of the Parse backend that can be deployed to any infrastructure that can run Node.js.

Affected versions of this package are vulnerable to Denial of Service (DoS) when receiving a file download request with an invalid byte range.

How to fix Denial of Service (DoS)?

Upgrade parse-server to version 4.10.17, 5.2.8 or higher.

<4.10.17 >=5.0.0 <5.2.8