Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost/server/v8
  4. ›
  5. CVE-2024-47003

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

September 26, 2024 (updated September 27, 2024)

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

References

  • github.com/advisories/GHSA-59hf-mpf8-pqjh
  • github.com/c0rydoras/cves/tree/main/CVE-2024-47003
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/69a8b3df0f9fd3a7a5b792ec678b6191618d039b
  • github.com/mattermost/mattermost/pull/27763
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2024-47003

Code Behaviors & Features

Detect and mitigate CVE-2024-47003 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.0.0-20240806094731-69a8b3df0f9f

Fixed versions

  • 8.0.0-20240806094731-69a8b3df0f9f

Solution

Upgrade to version 8.0.0-20240806094731-69a8b3df0f9f or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/mattermost/mattermost/server/v8/CVE-2024-47003.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:57 +0000.