CVE-2023-5876 Regex DoS from a malicious server enrolled in Desktop

Low 3.1 Published Updated

An attacker controlling an enrolled server can cause a Denial of Service in Mattermost Desktop via malicious regex validation.

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

CVE-2023-5876 is a low-severity denial of service vulnerability in Mattermost Desktop, published on 2 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Mattermost fails to properly validate a RegExp built off the server URL path, allowing an attacker in control of an enrolled server to mount a Denial Of Service.

Weakness: CWE-400

Which versions are affected by CVE-2023-5876?

It affects 1 product.

Products include Mattermost Mattermost Desktop.

How do I fix CVE-2023-5876?

No fix has been published for CVE-2023-5876 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-2023-5876 being exploited?

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

Sources

Also known as GHSA-p8hg-mm67-hmp8.

Is CVE-2023-5876 in your software?

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

Check your SBOMs for free