CVE-2021-37865 Server-side Denial of Service while processing a specifically crafted GIF file

Medium 4.3 Published Updated

Authenticated users can cause server-side denial of service by uploading a crafted GIF file, exhausting resources in Mattermost.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-37865?

CVE-2021-37865 is a medium-severity denial of service vulnerability in Mattermost Mattermost, published on 18 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Mattermost 6.2 and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded while drafting a post, which allows authenticated users to cause resource exhaustion while processing the file, resulting in server-side Denial of Service.

Weakness: CWE-400

Which versions are affected by CVE-2021-37865?

It affects 1 product.

Products include Mattermost Mattermost.

How do I fix CVE-2021-37865?

No fix has been published for CVE-2021-37865 yet. Limit exposure of the affected software until one is available.

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-2021-37865 being exploited?

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

All Mattermost Mattermost vulnerabilities

Sources

Also known as GHSA-jqq9-5hrp-9jg8.

Is CVE-2021-37865 in your software?

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

Check your SBOMs for free