ADVISORIES

GitHub Advisory Database

GHSA-cmc8-222c-vqp9

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

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/v8
From 9.5.0 before 9.5.7 (fixed in 9.5.7)
Gogithub.com/mattermost/mattermost/server/v8
From 9.7.0 before 9.7.6 (fixed in 9.7.6)
Gogithub.com/mattermost/mattermost/server/v8
From 9.8.0 before 9.8.2 (fixed in 9.8.2)
Gogithub.com/mattermost/mattermost/server/v8
From 9.9.0 before 9.9.1 (fixed in 9.9.1)

References