CVE-2024-41162: Mattermost allows a remote actor to make an arbitrary local channel read-only

CVE-2024-41162 · Severity: low · CVSS 3.1 · Published 2024-08-06

Mattermost allows a remote actor to make an arbitrary local channel read-only in github.com/mattermost/mattermost-server

Technologies: github.com/mattermost/mattermost (Go), github.com/mattermost/mattermost-server (Go), github.com/mattermost/mattermost-server/v5 (Go), github.com/mattermost/mattermost-server/v6 (Go), github.com/mattermost/mattermost/server/v8 (Go). Vendors: Go.

Quick answers

Is CVE-2024-41162 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-41162 being exploited in the wild.
How severe is CVE-2024-41162?
Low severity, with a CVSS score of 3.1, published 6 August 2024.
Which products and versions are affected?
github.com/mattermost/mattermost (Go) SEMVER:introduced=0,fixed=5.3.2-0.20240628125750-70b218839fa7; github.com/mattermost/mattermost-server (Go) SEMVER:introduced=9.5.0+incompatible,fixed=9.5.7+incompatible,introduced=9.7.0+incompatible,fixed=9.7.6+incompatible,introduced=9.8.0+incompatible,fixed=9.8.2+incompatible,introduced=9.9.0+incompatible,fixed=9.9.1+incompatible; github.com/mattermost/mattermost-server/v5 (Go) SEMVER:introduced=0; github.com/mattermost/mattermost-server/v6 (Go) SEMVER:introduced=0; and 1 more.
Is there a fix for CVE-2024-41162?
Yes. github.com/mattermost/mattermost (Go): upgrade to 5.3.2-0.20240628125750-70b218839fa7 or later; github.com/mattermost/mattermost-server (Go): upgrade to 9.9.1+incompatible or later; github.com/mattermost/mattermost/server/v8 (Go): upgrade to 9.5.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-41162?
Check whether you run github.com/mattermost/mattermost (Go), github.com/mattermost/mattermost-server (Go), github.com/mattermost/mattermost-server/v5 (Go) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/mattermost/mattermost (Go): upgrade to 5.3.2-0.20240628125750-70b218839fa7 or later
    go get github.com/mattermost/mattermost@v5.3.2-0.20240628125750-70b218839fa7
  • github.com/mattermost/mattermost-server (Go): upgrade to 9.9.1+incompatible or later
    go get github.com/mattermost/mattermost-server@v9.9.1+incompatible
  • github.com/mattermost/mattermost/server/v8 (Go): upgrade to 9.5.7 or later
    go get github.com/mattermost/mattermost/server/v8@v9.5.7

Affected products

  • github.com/mattermost/mattermost (Go) SEMVER:introduced=0,fixed=5.3.2-0.20240628125750-70b218839fa7
  • github.com/mattermost/mattermost-server (Go) SEMVER:introduced=9.5.0+incompatible,fixed=9.5.7+incompatible,introduced=9.7.0+incompatible,fixed=9.7.6+incompatible,introduced=9.8.0+incompatible,fixed=9.8.2+incompatible,introduced=9.9.0+incompatible,fixed=9.9.1+incompatible
  • github.com/mattermost/mattermost-server/v5 (Go) SEMVER:introduced=0
  • github.com/mattermost/mattermost-server/v6 (Go) SEMVER:introduced=0
  • github.com/mattermost/mattermost/server/v8 (Go) SEMVER:introduced=0, SEMVER:introduced=9.5.0,fixed=9.5.7

Identifiers

  • CVE-2024-41162
  • GHSA-jr9x-3x7m-4j75
  • GO-2024-3031

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.