CVE-2023-5330 Denial of Service via Opengraph Data Cache

Medium 4.3 Published Updated

An attacker can cause a denial of service in Mattermost by sending crafted requests to fill the OpenGraph data cache without size limits.

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-2023-5330?

CVE-2023-5330 is a medium-severity denial of service vulnerability in Mattermost Mattermost Server, published on 9 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Mattermost fails to enforce a limit for the size of the cache entry for OpenGraph data allowing an attacker to send a specially crafted request to the /api/v4/opengraph filling the cache and turning the server unavailable.

Weakness: CWE-770, CWE-400

Which versions are affected by CVE-2023-5330?

1 open source package ship an affected version, including mattermost. It affects 1 product.

PackageAffectedFixed in
mattermost BitnamiAll versions7.8.11, 8.0.3, 8.1.2

Products include Mattermost Mattermost Server.

How do I fix CVE-2023-5330?

Upgrade mattermost to a fixed version for your release line: 7.8.11, 8.0.3 or 8.1.2.

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-2023-5330 being exploited?

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

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as BIT-mattermost-2023-5330, GHSA-r4q9-r94f-xmhg.

Is CVE-2023-5330 in your software?

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

Check your SBOMs for free