Skip to content
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

x/vulndb: potential Go vuln in github.com/mattermost/mattermost/server/v8: GHSA-cmc8-222c-vqp9 #3028

Closed
GoVulnBot opened this issue Aug 2, 2024 · 1 comment
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-cmc8-222c-vqp9 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, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to properly validate that the channel that comes from the sync message is a shared channel, when shared channels are enabled, which allows a malicious remote to add users to arbitrary teams and channels

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
        - introduced: 9.7.0+incompatible
        - fixed: 9.7.6+incompatible
        - introduced: 9.8.0+incompatible
        - fixed: 9.8.2+incompatible
      non_go_versions:
        - introduced: TODO (earliest fixed "9.9.1", vuln range "= 9.9.0")
      vulnerable_at: 9.8.2-rc4+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-20240802063435-f7ef0ffbc5d6
summary: |-
    Mattermost failed to properly validate that the channel that comes from the
    sync message is a shared channel in github.com/mattermost/mattermost-server
cves:
    - CVE-2024-39274
ghsas:
    - GHSA-cmc8-222c-vqp9
references:
    - advisory: https://github.com/advisories/GHSA-cmc8-222c-vqp9
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-39274
    - 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-cmc8-222c-vqp9
    created: 2024-08-02T14:02:58.746916434Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/603235 mentions this issue: data/reports: add 29 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