CVE-2024-29221

Source
https://cve.org/CVERecord?id=CVE-2024-29221
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-29221.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-29221
Aliases
Published
2024-04-05T08:15:07.130Z
Modified
2026-07-15T01:49:16.834142751Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Invite ID available to team admins even without the "Add Members" permission
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/29xxx/CVE-2024-29221.json",
    "cna_assigner": "Mattermost",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "9.5.0"
                },
                {
                    "last_affected": "9.5.1"
                },
                {
                    "introduced": "9.4.0"
                },
                {
                    "last_affected": "9.4.3"
                },
                {
                    "introduced": "9.3.0"
                },
                {
                    "last_affected": "9.3.2"
                },
                {
                    "introduced": "8.1.0"
                },
                {
                    "last_affected": "8.1.10"
                }
            ]
        },
        {
            "source": "DESCRIPTION",
            "extracted_events": [
                {
                    "introduced": "9.5.x"
                },
                {
                    "fixed": "9.5.2"
                },
                {
                    "introduced": "9.4.x"
                },
                {
                    "fixed": "9.4.4"
                },
                {
                    "introduced": "9.3.x"
                },
                {
                    "fixed": "9.3.3"
                },
                {
                    "introduced": "8.1.x"
                },
                {
                    "fixed": "8.1.11"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/mattermost/mattermost

Affected ranges

Type
GIT
Repo
https://github.com/mattermost/mattermost
Events
Database specific
{
    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "8.1.0"
        },
        {
            "fixed": "8.1.11"
        },
        {
            "introduced": "9.3.0"
        },
        {
            "fixed": "9.3.3"
        },
        {
            "introduced": "9.4.0"
        },
        {
            "fixed": "9.4.4"
        },
        {
            "introduced": "9.5.0"
        },
        {
            "fixed": "9.5.2"
        }
    ]
}

Affected versions

@mattermost/client@8.*
@mattermost/client@8.1.1
@mattermost/client@9.*
@mattermost/client@9.3.0
@mattermost/client@9.4.0
@mattermost/client@9.5.0
@mattermost/types@8.*
@mattermost/types@8.1.1
@mattermost/types@9.*
@mattermost/types@9.3.0
@mattermost/types@9.4.0
@mattermost/types@9.5.0
v8.*
v8.1.0
v8.1.0-rc2
v8.1.1
v8.1.1-rc1
v8.1.1-rc2
v8.1.10
v8.1.10-rc1
v8.1.2
v8.1.2-rc1
v8.1.2-rc2
v8.1.3
v8.1.3-rc1
v8.1.3-rc2
v8.1.4
v8.1.4-rc1
v8.1.4-rc2
v8.1.5
v8.1.5-rc1
v8.1.5-rc2
v8.1.6
v8.1.6-rc1
v8.1.7
v8.1.7-rc1
v8.1.7-rc2
v8.1.7-rc3
v8.1.8
v8.1.8-rc1
v8.1.8-rc2
v8.1.9
v8.1.9-rc1
v8.1.9-rc2
v9.*
v9.3.0
v9.3.0-rc2
v9.3.1
v9.3.1-rc1
v9.3.1-rc2
v9.3.2
v9.3.2-rc1
v9.4.0
v9.4.0-rc4
v9.4.1
v9.4.2
v9.4.2-rc1
v9.4.2-rc2
v9.4.3
v9.4.3-rc1
v9.5.0
v9.5.0-rc3
v9.5.1
v9.5.1-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-29221.json"