Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost/server/v8
  4. ›
  5. CVE-2024-39839

CVE-2024-39839: Mattermost allows a user on a remote to set their remote username prop to an arbitrary string

August 1, 2024 (updated August 2, 2024)

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.

References

  • github.com/advisories/GHSA-vg6q-84p8-qvqh
  • github.com/mattermost/mattermost
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2024-39839

Code Behaviors & Features

Detect and mitigate CVE-2024-39839 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 9.5.0 before 9.5.7, all versions starting from 9.7.0 before 9.7.6, all versions starting from 9.8.0 before 9.8.2, all versions starting from 9.9.0 before 9.9.1, version 9.9.0

Fixed versions

  • 9.5.7
  • 9.7.6
  • 9.8.2
  • 9.9.1

Solution

Upgrade to versions 9.5.7, 9.7.6, 9.8.2, 9.9.1 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

go/github.com/mattermost/mattermost/server/v8/CVE-2024-39839.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:34 +0000.