VDB
Sign up
CRITICAL9.9

GHSA-5fwx-p6xh-vjrh

Mattermost allows reading arbitrary files related to importing boards

Quick fix

GHSA-5fwx-p6xh-vjrh — github.com/mattermost/mattermost/server/v8: upgrade to the fixed version with the command below.

go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250122165010-4ed702ccff4e

Details

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate board blocks when importing boards which allows an attacker could read any arbitrary file on the system via importing and exporting a specially crafted import archive in Boards.

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.0.0-20250122165010-4ed702ccff4e
Fixgo get github.com/mattermost/mattermost/server/v8@v8.0.0-20250122165010-4ed702ccff4e
Go/github.com/mattermost/mattermost/server/v8
Introduced in: 9.11.0-rc1Fixed in: 9.11.8
Fixgo get github.com/mattermost/mattermost/server/v8@v9.11.8
Go/github.com/mattermost/mattermost/server/v8
Introduced in: 10.2.0-rc1Fixed in: 10.2.3
Fixgo get github.com/mattermost/mattermost/server/v8@v10.2.3
Go/github.com/mattermost/mattermost/server/v8
Introduced in: 10.3.0-rc1Fixed in: 10.3.3
Fixgo get github.com/mattermost/mattermost/server/v8@v10.3.3
Go/github.com/mattermost/mattermost/server/v8
Introduced in: 10.4.0-rc1Fixed in: 10.4.2
Fixgo get github.com/mattermost/mattermost/server/v8@v10.4.2

References