Advisory

GHSA-59hf-mpf8-pqjh

Also known as: BIT-mattermost-2024-47003, CVE-2024-47003, GO-2024-3164

Summary

Mattermost fails to strip embeds from metadata when broadcasting posted events

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-09-26 09:31 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20240806094731-69a8b3df0f9f (semver)

Fixed versions

8.0.0-20240806094731-69a8b3df0f9f

Fix

  • Fixed version 8.0.0-20240806094731-69a8b3df0f9f
    go get github.com/mattermost/mattermost/server/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences