{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-1299",
        "ASSIGNER": "cve@gitlab.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A privilege escalation vulnerability was discovered in GitLab affecting versions 16.8 prior to 16.8.4 and 16.9 prior to 16.9.2. It was possible for a user with custom role of `manage_group_access_tokens` to rotate group access tokens with owner privileges."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-268: Privilege Chaining",
                        "cweId": "CWE-268"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "GitLab",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "GitLab",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "16.8",
                                            "version_value": "16.8.4"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "16.9",
                                            "version_value": "16.9.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/440745",
                "refsource": "MISC",
                "name": "https://gitlab.com/gitlab-org/gitlab/-/issues/440745"
            },
            {
                "url": "https://hackerone.com/reports/2356976",
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/2356976"
            },
            {
                "url": "https://about.gitlab.com/releases/2024/03/06/security-release-gitlab-16-9-2-released/",
                "refsource": "MISC",
                "name": "https://about.gitlab.com/releases/2024/03/06/security-release-gitlab-16-9-2-released/"
            }
        ]
    },
    "solution": [
        {
            "lang": "en",
            "value": "Upgrade to versions 16.8.4, 16.9.2 or above."
        }
    ],
    "credits": [
        {
            "lang": "en",
            "value": "Thanks [ashish_r_padelkar](https://hackerone.com/ashish_r_padelkar) for reporting this vulnerability through our HackerOne bug bounty program"
        }
    ],
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 6.5,
                "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:N",
                "version": "3.1"
            }
        ]
    }
}