Skip to content

x/vulndb: potential Go vuln in github.com/mattermost/mattermost/server/v8: GHSA-w6xh-c82w-h997 #3407

@GoVulnBot

Description

@GoVulnBot

Advisory GHSA-w6xh-c82w-h997 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/v2
github.com/mattermost/mattermost/server/v8

Description:
Mattermost versions 10.2.x <= 10.2.0, 9.11.x <= 9.11.5, 10.0.x <= 10.0.3, 10.1.x <= 10.1.3 fail to properly handle posts with attachments containing fields that cannot be cast to a String, which allows an attacker to cause the webapp to crash via creating and sending such a post to a channel.

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: 10.2.0+incompatible
        - fixed: 10.2.1+incompatible
      non_go_versions:
        - introduced: TODO (earliest fixed "9.11.6", vuln range ">= 9.11.0, <= 9.11.5")
        - introduced: TODO (earliest fixed "10.0.4", vuln range ">= 10.0.0, <= 10.0.3")
        - introduced: TODO (earliest fixed "10.1.4", vuln range ">= 10.1.0, <= 10.1.3")
      vulnerable_at: 10.2.1-rc1+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/v2
    - module: github.com/mattermost/mattermost/server/v8
      versions:
        - fixed: 8.0.0-20241127161322-25ff7a3779a5
summary: Mattermost webapp crash via a crafted post in github.com/mattermost/mattermost-server
cves:
    - CVE-2025-20621
ghsas:
    - GHSA-w6xh-c82w-h997
references:
    - advisory: https://github.com/advisories/GHSA-w6xh-c82w-h997
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-20621
    - 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.11.6", vuln range ">= 9.11.0, <= 9.11.5"))'
    - fix: 'github.com/mattermost/mattermost/server/v8: could not add vulnerable_at: could not find tagged version between introduced and fixed'
    - fix: 'github.com/mattermost/mattermost/server/v2: could not add vulnerable_at: no fix, but could not find latest version from proxy: unexpected end of JSON input'
source:
    id: GHSA-w6xh-c82w-h997
    created: 2025-01-17T00:03:43.897958968Z
review_status: UNREVIEWED

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions