CVE-2024-41926: Mattermost allows remote actor to set arbitrary RemoteId values for synced users

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

Mattermost allows remote actor to set arbitrary RemoteId values for synced users 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-41926 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-41926 being exploited in the wild.
How severe is CVE-2024-41926?
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.20240604093018-5114c3b7cdb8; github.com/mattermost/mattermost-server (Go) SEMVER:introduced=9.5.0+incompatible,fixed=9.5.7+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-41926?
Yes. github.com/mattermost/mattermost (Go): upgrade to 5.3.2-0.20240604093018-5114c3b7cdb8 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-41926?
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.20240604093018-5114c3b7cdb8 or later
    go get github.com/mattermost/mattermost@v5.3.2-0.20240604093018-5114c3b7cdb8
  • 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.20240604093018-5114c3b7cdb8
  • github.com/mattermost/mattermost-server (Go) SEMVER:introduced=9.5.0+incompatible,fixed=9.5.7+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-41926
  • GHSA-9fpw-c9x7-cv3j
  • GO-2024-3022

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