ADVISORIES

GitHub Advisory Database

GHSA-8j3q-gc9x-7972

Mattermost Incorrect Type Conversion or Cast

Details

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 validate the style of proto supplied to an action's style in post.props.attachments, which allows an attacker to crash the frontend via crafted malicious input.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/v8
From 10.2.0 before 10.2.1 (fixed in 10.2.1)
Gogithub.com/mattermost/mattermost/server/v8
From 10.1.0 before 10.1.4 (fixed in 10.1.4)
Gogithub.com/mattermost/mattermost/server/v8
From 10.0.0 before 10.0.4 (fixed in 10.0.4)
Gogithub.com/mattermost/mattermost/server/v8
From 9.11.0 before 9.11.6 (fixed in 9.11.6)
Gogithub.com/mattermost/mattermost/server/v8
All versions before 8.0.0-20241127161322-25ff7a3779a5 (fixed in 8.0.0-20241127161322-25ff7a3779a5)

References