GitHub Advisoryadvisory · Go
GHSA-w67v-ph4x-f48q Mattermost Server Improper Access Control
MEDIUM
Official page ↗
- Aliases
- CVE-2024-29221
- Ecosystem
- Go
- Packages
- github.com/mattermost/mattermost/server/v8
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-284
- Reviewed
- 2024-04-05
Affected packages
• Go github.com/mattermost/mattermost/server/v8: >= 8.1.0, < 8.1.11 → fixed in 8.1.11
• Go github.com/mattermost/mattermost/server/v8: >= 9.5.0, < 9.5.2 → fixed in 9.5.2
• Go github.com/mattermost/mattermost/server/v8: >= 9.4.0, < 9.4.4 → fixed in 9.4.4
• Go github.com/mattermost/mattermost/server/v8: >= 9.3.0, < 9.3.3 → fixed in 9.3.3
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.
Related
Alias · CVE (1)
- CVE-2024-29221 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… vulnerability
Weakness · CWE (1)
- CWE-284 Improper Access Control weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-29221 advisory
- https://github.com/mattermost/mattermost/commit/0dc03fbc6e3c9afb14137e72ab3fa6f5a0125b9c web
- https://github.com/mattermost/mattermost/commit/5cce9fed7363386afebd81a58fb5fab7d2729c8f web
- https://github.com/mattermost/mattermost/commit/a5784f34ba6592c6454b8742f24af9d06279e347 web
- https://github.com/mattermost/mattermost/commit/dd3fe2991a70a41790d6bef5d31afc5957525f3c web
- https://github.com/mattermost/mattermost package
- https://mattermost.com/security-updates web
- https://pkg.go.dev/vuln/GO-2024-2706 web