Advisory

GHSA-jr9x-3x7m-4j75

Also known as: BIT-mattermost-2024-41162, CVE-2024-41162, GO-2024-3031

Summary

Mattermost allows a remote actor to make an arbitrary local channel read-only

Details

Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to disallow the modification of local channels by a remote, when shared channels are enabled, which allows a malicious remote to make an arbitrary local channel read-only.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-08-01 15:32 UTC
Modified
2025-07-09 16:14 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.7.0, fixed 9.7.6 (semver)

Fixed versions

9.7.6

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.8.0, fixed 9.8.2 (semver)

Fixed versions

9.8.2

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-20240628125750-70b218839fa7 (semver)

Fixed versions

8.0.0-20240628125750-70b218839fa7

Fix

  • Fixed version 8.0.0-20240628125750-70b218839fa7
    go get github.com/mattermost/mattermost/server/[email protected]

github.com/mattermost/mattermost

Go · All systems

Affected

  • introduced 0, fixed 5.3.2-0.20240628125750-70b218839fa7 (semver)

Fixed versions

5.3.2-0.20240628125750-70b218839fa7

Fix

  • Fixed version 5.3.2-0.20240628125750-70b218839fa7
    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