CVE-2024-29221
Description
Improper Access Control in Mattermost Server versions 9.5.x before 9.5.2, 9.4.x before 9.4.4, 9.3.x before 9.3.3, 8.1.x before 8.1.11 lacked proper access control in the `/api/v4/users/me/teams` endpoint allowing a team admin to get the invite ID of their team, thus allowing them to invite users, even if the "Add Members" permission was explicitly removed from team admins.
How to fix
- mattermost mattermost_server8.1.11, 9.3.3, 9.4.4, 9.5.2 or later
- github.com/mattermost/mattermost/server/v88.1.11, 9.5.2, 9.4.4, 9.3.3 or later
- github.com/mattermost/mattermost-server9.3.3+incompatible, 9.4.4+incompatible, 9.5.2+incompatible or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mattermost mattermost_server | 8.1.0 ≤ v < 8.1.11, 9.3.0 ≤ v < 9.3.3, 9.4.0 ≤ v < 9.4.4, 9.5.0 ≤ v < 9.5.2 | 8.1.11, 9.3.3, 9.4.4, 9.5.2 |
| github.com/mattermost/mattermost/server/v8Go | 8.1.0 ≤ v < 8.1.11, 9.5.0 ≤ v < 9.5.2, 9.4.0 ≤ v < 9.4.4, 9.3.0 ≤ v < 9.3.3, No range specified | 8.1.11, 9.5.2, 9.4.4, 9.3.3 |
| github.com/mattermost/mattermost-serverGo | 9.3.0+incompatible ≤ v < 9.3.3+incompatible, 9.4.0+incompatible ≤ v < 9.4.4+incompatible, 9.5.0+incompatible ≤ v < 9.5.2+incompatible | 9.3.3+incompatible, 9.4.4+incompatible, 9.5.2+incompatible |
| github.com/mattermost/mattermost-server/v5Go | No range specified | — |
| github.com/mattermost/mattermost-server/v6Go | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.