{"id":"GHSA-5qx9-9ffj-5r8f","summary":"Mattermost fails to fully validate role changes","details":"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.\n\n","aliases":["CVE-2024-4198","GO-2024-2794"],"modified":"2024-06-05T16:43:09.574277Z","published":"2024-04-26T09:30:34Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-04-26T19:09:03Z","nvd_published_at":"2024-04-26T09:15:13Z","cwe_ids":["CWE-284"],"severity":"LOW"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4198"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/3d6d8a7c1f7105558fe266a1b379859a4dba4e9b"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/408ce4a82bb55ce27801f7044d9b3b49e82c47ed"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/fba5b8e348feada9b21290369c3598ccd5c04424"},{"type":"PACKAGE","url":"https://github.com/mattermost/mattermost"},{"type":"WEB","url":"https://mattermost.com/security-updates"}],"affected":[{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.6.0-rc1"},{"fixed":"9.6.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-5qx9-9ffj-5r8f/GHSA-5qx9-9ffj-5r8f.json","last_known_affected_version_range":"\u003c= 9.6.0"}},{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.5.0"},{"fixed":"9.5.3"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 9.5.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-5qx9-9ffj-5r8f/GHSA-5qx9-9ffj-5r8f.json"}},{"package":{"name":"github.com/mattermost/mattermost-server","ecosystem":"Go","purl":"pkg:golang/github.com/mattermost/mattermost-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.1.0"},{"fixed":"8.1.12"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 8.1.11","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-5qx9-9ffj-5r8f/GHSA-5qx9-9ffj-5r8f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N"}]}