VDB
Sign up
MEDIUM4.3

GHSA-q7rx-w656-fwmv

Mattermost notified all users in the channel when using WebSockets to respond individually

Quick fix

GHSA-q7rx-w656-fwmv — github.com/mattermost/mattermost/server/v8: upgrade to the fixed version with the command below.

go get github.com/mattermost/mattermost/server/v8@v8.1.7

Details

Mattermost fails to scope the WebSocket response around notified users to a each user separately resulting in the WebSocket broadcasting the information about who was notified about a post to everyone else in the channel.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/mattermost/mattermost/server/v8
Introduced in: 0Fixed in: 8.1.7
Fixgo get github.com/mattermost/mattermost/server/v8@v8.1.7
Go/github.com/mattermost/mattermost-server/v6
Introduced in: 0Fixed in: 8.1.7
Fixgo get github.com/mattermost/mattermost-server/v6@v8.1.7

References