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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | 10.0.4+incompatible, 10.1.4+incompatible, 10.2.1+incompatible, 9.11.6+incompatible | GO-2025-3407 |
| Go | github.com/mattermost/mattermost-server/v5 | no fix listed | GO-2025-3407 |
| Go | github.com/mattermost/mattermost-server/v6 | no fix listed | GO-2025-3407 |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20241127161322-25ff7a3779a5 | GO-2025-3407 |
| Go | github.com/mattermost/mattermost/server/v8 | 10.2.1 | GHSA-w6xh-c82w-h997 |
| Go | github.com/mattermost/mattermost/server/v8 | 10.1.4 | GHSA-w6xh-c82w-h997 |
| Go | github.com/mattermost/mattermost/server/v8 | 10.0.4 | GHSA-w6xh-c82w-h997 |
| Go | github.com/mattermost/mattermost/server/v8 | 9.11.6 | GHSA-w6xh-c82w-h997 |
| Go | github.com/mattermost/mattermost/server/v8 | 8.0.0-20241127161322-25ff7a3779a5 | GHSA-w6xh-c82w-h997 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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