Skip to content

x/vulndb: potential Go vuln in github.com/mattermost/mattermost/server/v8: GHSA-9fpw-c9x7-cv3j #3022

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
GoVulnBot opened this issue Aug 2, 2024 · 2 comments
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-9fpw-c9x7-cv3j references a vulnerability in the following Go modules:

Module
github.com/mattermost/mattermost-server
github.com/mattermost/mattermost-server/v5
github.com/mattermost/mattermost-server/v6
github.com/mattermost/mattermost/server/v8

Description:
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.

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/mattermost/mattermost-server
      versions:
        - introduced: 9.5.0+incompatible
        - fixed: 9.5.7+incompatible
      non_go_versions:
        - introduced: TODO (earliest fixed "9.9.1", vuln range "= 9.9.0")
      vulnerable_at: 9.5.7-rc3+incompatible
    - module: github.com/mattermost/mattermost-server/v5
      vulnerable_at: 5.39.3
    - module: github.com/mattermost/mattermost-server/v6
      vulnerable_at: 6.7.2
    - module: github.com/mattermost/mattermost/server/v8
      vulnerable_at: 8.0.0-20240801225330-6956923b6aed
summary: |-
    Mattermost allows remote actor to set arbitrary RemoteId values for synced
    users in github.com/mattermost/mattermost-server
cves:
    - CVE-2024-41926
ghsas:
    - GHSA-9fpw-c9x7-cv3j
references:
    - advisory: https://github.com/advisories/GHSA-9fpw-c9x7-cv3j
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-41926
    - web: https://mattermost.com/security-updates
notes:
    - fix: 'module merge error: could not merge versions of module github.com/mattermost/mattermost-server: invalid or non-canonical semver version (found TODO (earliest fixed "9.9.1", vuln range "= 9.9.0"))'
source:
    id: GHSA-9fpw-c9x7-cv3j
    created: 2024-08-02T02:02:47.474737477Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/603715 mentions this issue: data/reports: add 20 unreviewed reports

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/603716 mentions this issue: data/reports: add 19 unreviewed reports

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants