CVE-2023-2793 Stack exhaustion in PreparePostForClientWithEmbedsAndImages
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.
Other vulnerabilities in Mattermost Mattermost
- CVE-2019-20851 Path traversal in n/a
- CVE-2024-39274 Malicious remote can add users to arbitrary teams and channels
- CVE-2024-39777 Malicious remote can invite itself to an arbitrary local channel
- CVE-2024-39830 Timing attack during remote cluster token comparison when shared channels are enabled
- CVE-2023-3615 Lack of server certificate validation in websockets connection
Sources
Also known as GHSA-7qj9-mfh7-vg26.