VDB

CVE-2025-20621

CVE-2025-20621 PUBLISHED CVSS 6.5 MEDIUM

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

Reported by mattermost · Published January 16, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
MattermostMattermost10.1.3

Risk scores

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

Affected products

VendorProductVersions
MattermostMattermost10.2.0, 9.11.0, 10.0.0
wolfimattermost-10.5*
wolfimattermost-10.2*
MattermostMattermost2.23.0, 10.1.4, 10.0.4
chainguardmattermost-10.2*
chainguardmattermost-fips-10.70
wolfimattermost-10.4*
chainguardmattermost-fips-10.6*
chainguardmattermost-10.3*
wolfimattermost-10.3*
chainguardmattermost-fips-9.11*
wolfimattermost-10.1*
chainguardmattermost-10.5*
chainguardmattermost-9.11*
github.commattermost/mattermost/server/v80, 10.2.0, 10.1.0
chainguardmattermost-fips-10.5*
chainguardmattermost-10.4*
wolfimattermost-10.0*
chainguardmattermost-10.0*
chainguardmattermost-10.1*

Timeline

  • Jan 16, 2025 CVE Published
  • Jan 16, 2025 PoC Published (4 in total, the first dated here)
  • Jan 16, 2025 CVE Updated
  • Jan 17, 2025 EPSS Score (30 in total, the first dated here)
  • Apr 2, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Mar 17, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-20621
vulnetix vdb fixes CVE-2025-20621

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-20621/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›