Skip to main content
← All vulnerabilities
CVE-2025-20621GO-2025-3407GHSA-W6XH-C82W-H997

Webapp crash via object that can't be cast to String in Attachment Field

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.11.6+incompatible, 10.0.4+incompatible, 10.1.4+incompatible, 10.2.1+incompatible, 8.0.0-20241127161322-25ff7a3779a5, and 4 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Mattermost Mattermost

    From 10.2.0 · through 10.2.0; From 9.11.0 · through 9.11.5; From 10.0.0 · through 10.0.3; From 10.1.0 · through 10.1.3

  • github.com/mattermost/mattermost-serverGo

    From 9.11.0+incompatible · fixed in 9.11.6+incompatible; From 10.0.0+incompatible · fixed in 10.0.4+incompatible; From 10.1.0+incompatible · fixed in 10.1.4+incompatible; From 10.2.0+incompatible · fixed in 10.2.1+incompatible

  • github.com/mattermost/mattermost-server/v5Go

    All versions

  • github.com/mattermost/mattermost-server/v6Go

    All versions

  • github.com/mattermost/mattermost/server/v8Go

    fixed in 8.0.0-20241127161322-25ff7a3779a5

  • github.com/mattermost/mattermost/server/v8Go

    From 10.2.0 · fixed in 10.2.1

  • github.com/mattermost/mattermost/server/v8Go

    From 10.1.0 · fixed in 10.1.4

  • github.com/mattermost/mattermost/server/v8Go

    From 10.0.0 · fixed in 10.0.4

  • github.com/mattermost/mattermost/server/v8Go

    From 9.11.0 · fixed in 9.11.6

References 1

mattermost.com