CVE-2024-47003
JSON

3.1low

DoS via non-string message using permalink embed

Severity
3.1low CVSS:3.1 by Mattermost
Exploit likelihood
0.92% (higher than 59% of CVEs)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-59hf-mpf8-pqjhBIT-MATTERMOST-2024-47003GO-2024-3164

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.

Affected

Product or packageVersionsReported by
Mattermost Mattermost9.11.0, from 9.5.0 up to 9.5.8
Not affected: 10.0.0, 9.11.1, 9.5.9
CVE List
github.com/mattermost/mattermost/server/v8 (Go)before 8.0.0-20240806094731-69a8b3df0f9fGitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server (Go)all versionsGo Vulnerability Database
github.com/mattermost/mattermost-server/v5 (Go)all versionsGo Vulnerability Database
github.com/mattermost/mattermost-server/v6 (Go)all versionsGo Vulnerability Database
mattermost mattermost_serverfrom 9.5.0 before 9.5.9, 9.11.0NVD
mattermost (Bitnami)from 9.5.0 before 9.5.9, from 9.11.0-rc1 up to 9.11.0-rc1, from 9.11.0-rc2 up to 9.11.0-rc2, from 9.11.0-rc3 up to 9.11.0-rc3, from 9.11.0 up to 9.11.0Bitnami Vulnerability Database

All scores

Mattermost3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasemedium rating

Classification

CWE-400

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

Mattermost does not strip embeds from metadata when broadcasting posted events.

This allows users to include arbitrary embeds in posts, which are then broadcasted via websockets. This can be exploited in many ways, for example to create permalinks with fully customizable content or to trigger a client Side Denial of Service (DoS) by sending a permalink with a non-string message.

The advisory metadata references the appropriate go pseudo version available from pkg.go.dev

Go Vulnerability Database

Mattermost fails to strip embeds from metadata when broadcasting posted events in github.com/mattermost/mattermost-server

NVD (es)

Las versiones 9.11.x &lt;= 9.11.0 y 9.5.x &lt;= 9.5.8 de Mattermost no logran validar que el mensaje de la publicación de enlace permanente sea una cadena, lo que permite a un atacante enviar un valor que no sea una cadena como mensaje de una publicación de enlace permanente y bloquear el frontend.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2024-47003 changed 2024-09-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-59hf-mpf8-pqjh changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3164 changed 2026-02-04CC-BY-4.0
NVDCVE-2024-47003 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MATTERMOST-2024-47003 changed 2025-04-03Apache-2.0