CVE-2023-2793 Stack exhaustion in PreparePostForClientWithEmbedsAndImages

Medium 6.5 Published Updated

An attacker can cause a denial-of-service in Mattermost by linking to a specially crafted webpage that triggers stack exhaustion during preview generation.

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

CVE-2023-2793 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 validate links on external websites when constructing a preview for a linked website, allowing an attacker to cause a denial-of-service by a linking to a specially crafted webpage in a message.

Weakness: CWE-400

Which versions are affected by CVE-2023-2793?

It affects 1 product.

Products include Mattermost Mattermost.

How do I fix CVE-2023-2793?

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

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

All Mattermost Mattermost vulnerabilities

Sources

Also known as GHSA-7qj9-mfh7-vg26.

Is CVE-2023-2793 in your software?

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

Check your SBOMs for free