VDB
Sign up
MEDIUM

GHSA-8qg8-c7mw-6fj7

Mattermost Server is vulnerable to Directory Traversal by System Admins

Quick fix

GHSA-8qg8-c7mw-6fj7 — github.com/mattermost/mattermost-server: upgrade to the fixed version with the command below.

go get github.com/mattermost/mattermost-server@v4.1.2-0.20171004201910-6be8113eb60

Details

An issue was discovered in Mattermost Server before 4.3.0, 4.2.1, and 4.1.2 when local storage for files is used. A System Admin can achieve directory traversal.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/mattermost/mattermost-server
Introduced in: 0Fixed in: 4.1.2-0.20171004201910-6be8113eb60
Fixgo get github.com/mattermost/mattermost-server@v4.1.2-0.20171004201910-6be8113eb60
Go/github.com/mattermost/mattermost-server
Introduced in: 4.2.0-rc1Fixed in: 4.2.1-0.20171004194140-6d3cb2ce07fc
Fixgo get github.com/mattermost/mattermost-server@v4.2.1-0.20171004194140-6d3cb2ce07fc
Go/github.com/mattermost/mattermost-server
Introduced in: 4.3.0-rc1Fixed in: 4.3.0
Fixgo get github.com/mattermost/mattermost-server@v4.3.0

References