{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-6477",
        "ASSIGNER": "cve@gitlab.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "An issue has been discovered in GitLab EE affecting all versions starting from 16.5 before 16.7.6, all versions starting from 16.8 before 16.8.3, all versions starting from 16.9 before 16.9.1. When a user is assigned a custom role with admin_group_member permission, they may be able to make a group, other members or themselves Owners of that group, which may lead to privilege escalation."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-266: Incorrect Privilege Assignment",
                        "cweId": "CWE-266"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "GitLab",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "GitLab",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "16.5",
                                            "version_value": "16.7.6"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "16.8",
                                            "version_value": "16.8.3"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "16.9",
                                            "version_value": "16.9.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/433463",
                "refsource": "MISC",
                "name": "https://gitlab.com/gitlab-org/gitlab/-/issues/433463"
            },
            {
                "url": "https://hackerone.com/reports/2270898",
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/2270898"
            }
        ]
    },
    "solution": [
        {
            "lang": "en",
            "value": "Upgrade to versions 16.9.1, 16.8.3, 16.7.6 or above."
        }
    ],
    "credits": [
        {
            "lang": "en",
            "value": "Thanks [joaxcar](https://hackerone.com/joaxcar) for reporting this vulnerability through our HackerOne bug bounty program"
        }
    ],
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 6.7,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "HIGH",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L",
                "version": "3.1"
            }
        ]
    }
}