CVE-2025-20621 Webapp crash via object that can't be cast to String in Attachment Field
HighCVSS 7.5
EPSS 0.82%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
4 packages: 3 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0+incompatible, < 9.11.6+incompatible; >= 10.0.0+incompatible, < 10.0.4+incompatible; >= 10.1.0+incompatible, < 10.1.4+incompatible; >= 10.2.0+incompatible, < 10.2.1+incompatible +1 more | 9.11.6+incompatible, 10.0.4+incompatible, 10.1.4+incompatible, 10.2.1+incompatible | Partially fixed |
| Mattermost | >= 9.11.0, <= 9.11.5; >= 10.0.0, <= 10.0.3; >= 10.1.0, <= 10.1.3; >= 10.2.0, <= 10.2.0 | after 9.11.5, 10.0.3, 10.1.3, 10.2.0 | Fixed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20241127161322-25ff7a3779a5; >= 9.11.0, < 9.11.6; >= 9.11.0, <= 9.11.5; >= 10.0.0, < 10.0.4 +4 more | 8.0.0-20241127161322-25ff7a3779a5, 9.11.6, 10.0.4, 10.1.4, 10.2.1 | Fixed |
| mattermost server | = 10.2.0; >= 9.11.0, < 9.11.6; >= 10.0.0, < 10.0.4; >= 10.1.0, < 10.1.4 | 9.11.6, 10.0.4, 10.1.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 10.2.0, < 10.2.1 | 10.2.1 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 10.1.0, < 10.1.4 | 10.1.4 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 10.0.0, < 10.0.4 | 10.0.4 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.11.0, < 9.11.6 | 9.11.6 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | < 8.0.0-20241127161322-25ff7a3779a5 | 8.0.0-20241127161322-25ff7a3779a5 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.11.0+incompatible, < 9.11.6+incompatible | 9.11.6+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.0.0+incompatible, < 10.0.4+incompatible | 10.0.4+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.1.0+incompatible, < 10.1.4+incompatible | 10.1.4+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 10.2.0+incompatible, < 10.2.1+incompatible | 10.2.1+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | All versions | No fix listed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 10.1.0, <= 10.1.3 | No fix listed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 10.0.0, <= 10.0.3 | No fix listed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.11.0, <= 9.11.5 | No fix listed |
| Mattermost | >= 10.2.0, <= 10.2.0 | No fix listed |
| Mattermost | >= 9.11.0, <= 9.11.5 | No fix listed |
| Mattermost | >= 10.0.0, <= 10.0.3 | No fix listed |
| Mattermost | >= 10.1.0, <= 10.1.3 | No fix listed |
| mattermost server | >= 9.11.0, < 9.11.6 | 9.11.6 |
| mattermost server | >= 10.0.0, < 10.0.4 | 10.0.4 |
| mattermost server | >= 10.1.0, < 10.1.4 | 10.1.4 |
| mattermost server | = 10.2.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- mattermost.com vendor-advisory
- github.com vendor-advisory