Advisory

GHSA-9fpw-c9x7-cv3j

Also known as: BIT-mattermost-2024-41926, CVE-2024-41926, GO-2024-3022

Summary

Mattermost allows remote actor to set arbitrary RemoteId values for synced users

Details

Mattermost versions 9.9.x <= 9.9.0 and 9.5.x <= 9.5.6 fail to validate the source of sync messages and only allow the correct remote IDs, which allows a malicious remote to set arbitrary RemoteId values for synced users and therefore claim that a user was synced from another remote.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-08-01 15:32 UTC
Modified
2025-07-09 16:41 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.5.0, fixed 9.5.7 (semver)

Fixed versions

9.5.7

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.9.0, fixed 9.9.1 (semver)

Fixed versions

9.9.1

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20240604093018-5114c3b7cdb8 (semver)

Fixed versions

8.0.0-20240604093018-5114c3b7cdb8

Fix

  • Fixed version 8.0.0-20240604093018-5114c3b7cdb8
    go get github.com/mattermost/mattermost/server/[email protected]

github.com/mattermost/mattermost

Go · All systems

Affected

  • introduced 0, fixed 5.3.2-0.20240604093018-5114c3b7cdb8 (semver)

Fixed versions

5.3.2-0.20240604093018-5114c3b7cdb8

Fix

  • Fixed version 5.3.2-0.20240604093018-5114c3b7cdb8
    go get github.com/mattermost/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences