CVE-2024-47003 DoS via non-string message using permalink embed

Low 3.1 Published Updated

An attacker can crash the Mattermost frontend by sending a non-string value as a permalink message, causing a denial of service.

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-2024-47003?

CVE-2024-47003 is a low-severity denial of service vulnerability in Mattermost Mattermost Server, published on 26 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Mattermost versions 9.11.x <= 9.11.0 and 9.5.x <= 9.5.8 fail to validate that the message of the permalink post is a string, which allows an attacker to send a non-string value as the message of a permalink post and crash the frontend.

Weakness: CWE-400

Which versions are affected by CVE-2024-47003?

7 open source packages ship an affected version, including github.com/mattermost/mattermost/server/v8, mattermost and github.com/mattermost/mattermost-server. It affects 1 product.

PackageAffectedFixed in
github.com/mattermost/mattermost/server/v8 GoAll versions8.0.0-20240806094731-69a8b3df0f9f
github.com/mattermost/mattermost/server/v8 GoAll versions8.0.0-20240806094731-69a8b3df0f9f
github.com/mattermost/mattermost/server/v8 GoAll versions8.0.0-20240806094731-69a8b3df0f9f
mattermost BitnamiFrom 9.5.0 to 9.11.0-rc19.5.9
github.com/mattermost/mattermost-server GoAll versionsNone
github.com/mattermost/mattermost-server/v5 GoAll versionsNone
1 more packages
github.com/mattermost/mattermost-server/v6 GoAll versionsNone

Products include Mattermost Mattermost Server.

How do I fix CVE-2024-47003?

Upgrade github.com/mattermost/mattermost/server/v8 to 8.0.0-20240806094731-69a8b3df0f9f or later.

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-2024-47003 being exploited?

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

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as BIT-mattermost-2024-47003, GHSA-59hf-mpf8-pqjh, GO-2024-3164.

Is CVE-2024-47003 in your software?

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

Check your SBOMs for free