CVE-2022-31089 Invalid file request can crashe parse-server

High 7.5 Published Updated

Attackers can crash Parse Server instances by sending invalid file requests, causing denial of service, especially in single-instance deployments.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-31089?

CVE-2022-31089 is a high-severity denial of service vulnerability in Parseplatform Parse-Server, published on 27 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. In affected versions certain types of invalid files requests are not handled properly and can crash the server. If you are running multiple Parse Server instances in a cluster, the availability impact may be low; if you are running Parse Server as single instance without redundancy, the availability impact may be high. This issue has been addressed in versions 4.10.12 and 5.2.3. Users are advised to upgrade. There are no known workarounds for this issue.

Weakness: CWE-706, CWE-252

Which versions are affected by CVE-2022-31089?

5 open source packages ship an affected version, including parse-server and parse. It affects 1 product.

PackageAffectedFixed in
parse-server npmAll versions4.10.12
parse-server npmAll versions4.10.12
parse-server npmFrom 5.0.05.2.3
parse-server npmFrom 5.0.05.2.3
parse BitnamiAll versions4.10.12, 5.2.3

Products include Parseplatform Parse-Server.

How do I fix CVE-2022-31089?

Upgrade parse-server to a fixed version for your release line: 4.10.12 or 5.2.3.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-31089 being exploited?

There is no known exploitation of CVE-2022-31089 in the wild and no public exploit code.

All Parseplatform Parse-Server vulnerabilities

Sources

Also known as BIT-parse-2022-31089, GHSA-xw6g-jjvf-wwf9.

Is CVE-2022-31089 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free