NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2024-47003: Mattermost fails to strip `embeds` from `metadata` when broadcasting `posted` events

mediumCVSS 4.0 5.3 · 3.1 5.4GHSA-59hf-mpf8-pqjh

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.

Published Sep 26, 2024 · Updated Sep 27, 2024

Affected packages

github.com/mattermost/mattermost/server/v8

Ecosystem
Go
Affected
< 8.0.0-20240806094731-69a8b3df0f9f
Fixed in
8.0.0-20240806094731-69a8b3df0f9f
Check
go list -m github.com/mattermost/mattermost/server/v8

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to c0rydoras.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries