CVE-2022-3257 Server-side Denial of Service while processing a specifically crafted GIF file

Low 3.1 Published Updated

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

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

What is CVE-2022-3257?

CVE-2022-3257 is a low-severity denial of service vulnerability in Mattermost Mattermost Server, published on 23 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Mattermost version 7.1.x 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-434, CWE-400

Which versions are affected by CVE-2022-3257?

3 open source packages ship an affected version, including github.com/mattermost/mattermost-server/v6 and mattermost. It affects 1 product.

PackageAffectedFixed in
github.com/mattermost/mattermost-server/v6 GoFrom 7.1.07.2.0
github.com/mattermost/mattermost-server/v6 GoFrom 7.1.07.2.0
mattermost BitnamiAll versions7.2.0

Products include Mattermost Mattermost Server.

How do I fix CVE-2022-3257?

Upgrade github.com/mattermost/mattermost-server/v6 to 7.2.0 or later.

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-3257 being exploited?

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

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as BIT-mattermost-2022-3257, GHSA-m7w4-q5vg-5xfp.

Is CVE-2022-3257 in your software?

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

Check your SBOMs for free