CVE-2023-2831 Denial of Service while unescaping a Markdown string

Medium 4.3 Published Updated

An attacker can cause a Denial of Service in Mattermost by sending messages with excessive escaped characters, requiring a patch to fix.

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-2831?

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

Official description

Mattermost fails to unescape Markdown strings in a memory-efficient way, allowing an attacker to cause a Denial of Service by sending a message containing a large number of escaped characters.

Weakness: CWE-400

Which versions are affected by CVE-2023-2831?

It affects 1 product.

Products include Mattermost Mattermost.

How do I fix CVE-2023-2831?

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

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

All Mattermost Mattermost vulnerabilities

Sources

Also known as GHSA-4qcm-px3r-jfr8.

Is CVE-2023-2831 in your software?

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

Check your SBOMs for free