{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-29221",
        "assignerOrgId": "9302f53e-dde5-4bf3-b2f2-a83f91ac0eee",
        "state": "PUBLISHED",
        "assignerShortName": "Mattermost",
        "dateReserved": "2024-04-03T10:03:48.289Z",
        "datePublished": "2024-04-05T08:15:07.130Z",
        "dateUpdated": "2024-08-02T01:10:54.523Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Mattermost",
                    "vendor": "Mattermost",
                    "versions": [
                        {
                            "lessThanOrEqual": "9.5.1",
                            "status": "affected",
                            "version": "9.5.0",
                            "versionType": "semver"
                        },
                        {
                            "lessThanOrEqual": "9.4.3",
                            "status": "affected",
                            "version": "9.4.0",
                            "versionType": "semver"
                        },
                        {
                            "lessThanOrEqual": "9.3.2",
                            "status": "affected",
                            "version": "9.3.0",
                            "versionType": "semver"
                        },
                        {
                            "lessThanOrEqual": "8.1.10",
                            "status": "affected",
                            "version": "8.1.0",
                            "versionType": "semver"
                        },
                        {
                            "status": "unaffected",
                            "version": "9.6.0"
                        },
                        {
                            "status": "unaffected",
                            "version": "9.5.2"
                        },
                        {
                            "status": "unaffected",
                            "version": "9.4.4"
                        },
                        {
                            "status": "unaffected",
                            "version": "9.3.3"
                        },
                        {
                            "status": "unaffected",
                            "version": "8.1.11"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "omar ahmed (omar-ahmed)"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>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&nbsp;allowing&nbsp;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. </p>"
                        }
                    ],
                    "value": "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. \n\n"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 4.7,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "HIGH",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-284",
                            "description": "CWE-284: Improper Access Control",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "9302f53e-dde5-4bf3-b2f2-a83f91ac0eee",
                "shortName": "Mattermost",
                "dateUpdated": "2024-04-05T08:15:07.130Z"
            },
            "references": [
                {
                    "url": "https://mattermost.com/security-updates"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Update Mattermost Server to versions 9.6.0, 9.5.2, 9.4.4, 9.3.3, 8.1.11 or higher.</p>"
                        }
                    ],
                    "value": "Update Mattermost Server to versions 9.6.0, 9.5.2, 9.4.4, 9.3.3, 8.1.11 or higher.\n\n"
                }
            ],
            "source": {
                "advisory": "MMSA-2024-00311",
                "defect": [
                    "https://mattermost.atlassian.net/browse/MM-56821"
                ],
                "discovery": "EXTERNAL"
            },
            "title": "Invite ID available to team admins even without the \"Add Members\" permission",
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "title": "CISA ADP Vulnrichment",
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-29221",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-04-09T17:16:33.172848Z"
                            }
                        }
                    }
                ],
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-06-04T17:57:08.139Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T01:10:54.523Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://mattermost.com/security-updates",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}