CVE-2025-20621
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Mattermost | Mattermost | 10.1.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Mattermost | Mattermost | 10.2.0, 9.11.0, 10.0.0 |
| wolfi | mattermost-10.5 | * |
| wolfi | mattermost-10.2 | * |
| Mattermost | Mattermost | 2.23.0, 10.1.4, 10.0.4 |
| chainguard | mattermost-10.2 | * |
| chainguard | mattermost-fips-10.7 | 0 |
| wolfi | mattermost-10.4 | * |
| chainguard | mattermost-fips-10.6 | * |
| chainguard | mattermost-10.3 | * |
| wolfi | mattermost-10.3 | * |
| chainguard | mattermost-fips-9.11 | * |
| wolfi | mattermost-10.1 | * |
| chainguard | mattermost-10.5 | * |
| chainguard | mattermost-9.11 | * |
| github.com | mattermost/mattermost/server/v8 | 0, 10.2.0, 10.1.0 |
| chainguard | mattermost-fips-10.5 | * |
| chainguard | mattermost-10.4 | * |
| wolfi | mattermost-10.0 | * |
| chainguard | mattermost-10.0 | * |
| chainguard | mattermost-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