Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-20621 EUVD-2025-0107GHSA-w6xh-c82w-h997GO-2025-3407

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

Published Jan 16, 2025 · Updated Jan 16, 2025 · Assigned by Mattermost

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 products

VendorProductAffectedFixed
Mattermost Mattermost 10.2.0 – ≤ 10.2.0, 9.11.0 – ≤ 9.11.5, 10.0.0 – ≤ 10.0.3, 10.1.0 – ≤ 10.1.3 10.3.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250128T150132-150000.1.29.1 SUSE-SU-2025:0297-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250117T214834-1.1 openSUSE-SU-2025:14704-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250128T150132-150000.1.29.1 SUSE-SU-2025:0297-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 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 9.11.6+incompatible, 10.0.4+incompatible, 10.1.4+incompatible, 10.2.1+incompatible GO-2025-3407
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2025-3407
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2025-3407
Go github.com/mattermost/mattermost/server/v8 >= 10.2.0, < 10.2.1 10.2.1 GHSA-w6xh-c82w-h997
Go github.com/mattermost/mattermost/server/v8 >= 10.1.0, < 10.1.4 10.1.4 GHSA-w6xh-c82w-h997
Go github.com/mattermost/mattermost/server/v8 >= 10.0.0, < 10.0.4 10.0.4 GHSA-w6xh-c82w-h997
Go github.com/mattermost/mattermost/server/v8 >= 9.11.0, < 9.11.6 9.11.6 GHSA-w6xh-c82w-h997
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20241127161322-25ff7a3779a5 8.0.0-20241127161322-25ff7a3779a5 GHSA-w6xh-c82w-h997

Advisories 2

References