GHSA-5qx9-9ffj-5r8f
Mattermost fails to fully validate role changes
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | >= 9.6.0-rc1, < 9.6.1 | 9.6.1 |
| Go | github.com/mattermost/mattermost-server | >= 9.5.0, < 9.5.3 | 9.5.3 |
| Go | github.com/mattermost/mattermost-server | >= 8.1.0, < 8.1.12 | 8.1.12 |
Details
As written in the advisory (Markdown source, shown as plain text).
Mattermost versions 9.6.0, 9.5.x before 9.5.3, and 8.1.x before 8.1.12 fail to fully validate role changes which allows an attacker authenticated as team admin to demote users to guest via crafted HTTP requests.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-4198
- https://github.com/mattermost/mattermost/commit/3d6d8a7c1f7105558fe266a1b379859a4dba4e9b
- https://github.com/mattermost/mattermost/commit/408ce4a82bb55ce27801f7044d9b3b49e82c47ed
- https://github.com/mattermost/mattermost/commit/fba5b8e348feada9b21290369c3598ccd5c04424
- https://github.com/mattermost/mattermost
- https://mattermost.com/security-updates