GitHub Advisory Database
GHSA-8f99-g2pj-x8w3
Mattermost crashes web clients via a malformed custom status
Details
Mattermost versions 9.6.0, 9.5.x before 9.5.3, 9.4.x before 9.4.5, and 8.1.x before 8.1.12 fail to handle JSON parsing errors in custom status values, which allows an authenticated attacker to crash other users' web clients via a malformed custom status.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost-server | From 8.1.0 before 8.1.12 (fixed in 8.1.12) |
| Go | github.com/mattermost/mattermost-server | From 9.4.0 before 9.4.5 (fixed in 9.4.5) |
| Go | github.com/mattermost/mattermost-server | From 9.5.0 before 9.5.3 (fixed in 9.5.3) |
| Go | github.com/mattermost/mattermost-server | From 9.6.0-rc1 before 9.6.1 (fixed in 9.6.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-4182
- https://github.com/mattermost/mattermost/commit/41333a0babf565453d89287549bec1e546e75ce7
- https://github.com/mattermost/mattermost/commit/6cbab0f7ece104681f73dd12c75d9f22d567125e
- https://github.com/mattermost/mattermost/commit/a99dadd80c57d376185ca06f8f70919a6f135bc6
- https://github.com/mattermost/mattermost/commit/f84f8ed65f6a5faba974426424b684635455a527
- https://github.com/mattermost/mattermost
- https://mattermost.com/security-updates