MEDIUM6.5
GHSA-w6xh-c82w-h997
Mattermost webapp crash via a crafted post
Quick fix
GHSA-w6xh-c82w-h997 — github.com/mattermost/mattermost/server/v8: upgrade to the fixed version with the command below.
go get github.com/mattermost/mattermost/server/v8@v10.2.1Details
Mattermost versions 10.2.x <= 10.2.0, 9.11.x <= 9.11.5, 10.0.x <= 10.0.3, 10.1.x <= 10.1.3 fail to properly handle posts with attachments containing fields that cannot be cast to a String, which allows an attacker to cause the webapp to crash via creating and sending such a post to a channel.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/mattermost/mattermost/server/v8
Introduced in:
10.2.0Fixed in: 10.2.1Fix
go get github.com/mattermost/mattermost/server/v8@v10.2.1Go/github.com/mattermost/mattermost/server/v8
Introduced in:
10.1.0Fixed in: 10.1.4Fix
go get github.com/mattermost/mattermost/server/v8@v10.1.4Go/github.com/mattermost/mattermost/server/v8
Introduced in:
10.0.0Fixed in: 10.0.4Fix
go get github.com/mattermost/mattermost/server/v8@v10.0.4Go/github.com/mattermost/mattermost/server/v8
Introduced in:
9.11.0Fixed in: 9.11.6Fix
go get github.com/mattermost/mattermost/server/v8@v9.11.6Go/github.com/mattermost/mattermost/server/v8
Introduced in:
0Fixed in: 8.0.0-20241127161322-25ff7a3779a5Fix
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20241127161322-25ff7a3779a5