VDB
Sign up
MEDIUM6.5

GHSA-8j3q-gc9x-7972

Mattermost Incorrect Type Conversion or Cast

Quick fix

GHSA-8j3q-gc9x-7972 — 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.1

Details

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 validate the style of proto supplied to an action's style in post.props.attachments, which allows an attacker to crash the frontend via crafted malicious input.

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.1
Fixgo get github.com/mattermost/mattermost/server/v8@v10.2.1
Go/github.com/mattermost/mattermost/server/v8
Introduced in: 10.1.0Fixed in: 10.1.4
Fixgo get github.com/mattermost/mattermost/server/v8@v10.1.4
Go/github.com/mattermost/mattermost/server/v8
Introduced in: 10.0.0Fixed in: 10.0.4
Fixgo get github.com/mattermost/mattermost/server/v8@v10.0.4
Go/github.com/mattermost/mattermost/server/v8
Introduced in: 9.11.0Fixed in: 9.11.6
Fixgo get github.com/mattermost/mattermost/server/v8@v9.11.6
Go/github.com/mattermost/mattermost/server/v8
Introduced in: 0Fixed in: 8.0.0-20241127161322-25ff7a3779a5
Fixgo get github.com/mattermost/mattermost/server/v8@v8.0.0-20241127161322-25ff7a3779a5

References