Advisory

GHSA-cmc8-222c-vqp9

Also known as: CVE-2024-39274, GO-2024-3028

Summary

Mattermost failed to properly validate that the channel that comes from the sync message is a shared channel

Details

Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to properly validate that the channel that comes from the sync message is a shared channel, when shared channels are enabled, which allows a malicious remote to add users to arbitrary teams and channels

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-08-01 15:32 UTC
Modified
2024-11-18 16:26 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.5.0, fixed 9.5.7 (semver)

Fixed versions

9.5.7

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.7.0, fixed 9.7.6 (semver)

Fixed versions

9.7.6

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.8.0, fixed 9.8.2 (semver)

Fixed versions

9.8.2

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.9.0, fixed 9.9.1 (semver)

Fixed versions

9.9.1

Fix

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