Vulnerability · Published Jan 16, 2025 · Assigned by Mattermost

CVE-2025-20621Webapp crash via object that can't be cast to String in Attachment Field

Medium 6.5

In plain English

A medium-severity security flaw in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.5%top 58.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/mattermost/mattermost-server10.0.4+incompatible, 10.1.4+incompatible, 10.2.1+incompatible, 9.11.6+incompatibleGO-2025-3407
Gogithub.com/mattermost/mattermost-server/v5no fix listedGO-2025-3407
Gogithub.com/mattermost/mattermost-server/v6no fix listedGO-2025-3407
Gogithub.com/mattermost/mattermost/server/v88.0.0-20241127161322-25ff7a3779a5GO-2025-3407
Gogithub.com/mattermost/mattermost/server/v810.2.1GHSA-w6xh-c82w-h997
Gogithub.com/mattermost/mattermost/server/v810.1.4GHSA-w6xh-c82w-h997
Gogithub.com/mattermost/mattermost/server/v810.0.4GHSA-w6xh-c82w-h997
Gogithub.com/mattermost/mattermost/server/v89.11.6GHSA-w6xh-c82w-h997
Gogithub.com/mattermost/mattermost/server/v88.0.0-20241127161322-25ff7a3779a5GHSA-w6xh-c82w-h997

Affected products (as reported)

VendorProductVersions
Mattermost Mattermost 10.2.0 – through 10.2.09.11.0 – through 9.11.510.0.0 – through 10.0.310.1.0 – through 10.1.3

Weakness: CWE-1287 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References