Skip to content
OpenAdvisories
Medium · 4.3 CVE-2024-39839 BIT-mattermost-2024-39839EUVD-2024-2663GHSA-vg6q-84p8-qvqhGO-2024-3024

Remote username set to an arbitrary string by remote user

Published Aug 1, 2024 · Updated Aug 1, 2024 · Assigned by Mattermost

Description

Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5, 9.8.x <= 9.8.1 fail to disallow users to set their own remote username, when shared channels were enabled, which allows a user on a remote to set their remote username prop to an arbitrary string, which would be then synced to the local server as long as the user hadn't been synced before.

Affected products

VendorProductAffectedFixed
Mattermost Mattermost 9.9.0, 9.5.0 – ≤ 9.5.6, 9.7.0 – ≤ 9.7.5, 9.8.0 – ≤ 9.8.1 9.10.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 9.5.0+incompatible, < 9.5.7+incompatible · >= 9.7.0+incompatible, < 9.7.6+incompatible · >= 9.8.0+incompatible, < 9.8.2+incompatible · >= 9.9.0+incompatible, < 9.9.1+incompatible 9.5.7+incompatible, 9.7.6+incompatible, 9.8.2+incompatible, 9.9.1+incompatible GO-2024-3024
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2024-3024
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2024-3024
Go github.com/mattermost/mattermost/server/v8 >= 9.5.0, < 9.5.7 9.5.7 GHSA-vg6q-84p8-qvqh
Go github.com/mattermost/mattermost/server/v8 >= 9.7.0, < 9.7.6 9.7.6 GHSA-vg6q-84p8-qvqh
Go github.com/mattermost/mattermost/server/v8 >= 9.8.0, < 9.8.2 9.8.2 GHSA-vg6q-84p8-qvqh
Go github.com/mattermost/mattermost/server/v8 >= 9.9.0, < 9.9.1 9.9.1 GHSA-vg6q-84p8-qvqh
Go github.com/mattermost/mattermost/server/v8 all versions — GO-2024-3024

Advisories 1

References