Skip to content

x/vulndb: potential Go vuln in github.com/mattermost/mattermost/server/v8: GHSA-59hf-mpf8-pqjh #3164

@GoVulnBot

Description

@GoVulnBot

Advisory GHSA-59hf-mpf8-pqjh references a vulnerability in the following Go modules:

Module
github.com/mattermost/mattermost-server
github.com/mattermost/mattermost-server/v5
github.com/mattermost/mattermost-server/v6
github.com/mattermost/mattermost/server/v8

Description:
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:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/mattermost/mattermost-server
      vulnerable_at: 10.0.0+incompatible
    - module: github.com/mattermost/mattermost-server/v5
      vulnerable_at: 5.39.3
    - module: github.com/mattermost/mattermost-server/v6
      vulnerable_at: 6.7.2
    - module: github.com/mattermost/mattermost/server/v8
      versions:
        - fixed: 8.0.0-20240806094731-69a8b3df0f9f
summary: |-
    Mattermost fails to strip `embeds` from `metadata` when broadcasting `posted`
    events in github.com/mattermost/mattermost-server
cves:
    - CVE-2024-47003
ghsas:
    - GHSA-59hf-mpf8-pqjh
references:
    - advisory: https://github.com/advisories/GHSA-59hf-mpf8-pqjh
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-47003
    - fix: https://github.com/mattermost/mattermost/commit/69a8b3df0f9fd3a7a5b792ec678b6191618d039b
    - fix: https://github.com/mattermost/mattermost/pull/27763
    - web: https://github.com/c0rydoras/cves/tree/main/CVE-2024-47003
    - web: https://mattermost.com/security-updates
notes:
    - fix: 'github.com/mattermost/mattermost/server/v8: could not add vulnerable_at: could not find tagged version between introduced and fixed'
source:
    id: GHSA-59hf-mpf8-pqjh
    created: 2024-09-27T23:02:15.125004651Z
review_status: UNREVIEWED

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions