{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-4331",
        "assignerOrgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a",
        "assignerShortName": "GitLab",
        "dateUpdated": "2024-08-03T01:34:50.155Z",
        "dateReserved": "2022-12-07T00:00:00",
        "datePublished": "2023-03-09T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a",
                "shortName": "GitLab",
                "dateUpdated": "2023-03-09T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "An issue has been discovered in GitLab EE affecting all versions starting from 15.1 before 15.7.8, all versions starting from 15.8 before 15.8.4, all versions starting from 15.9 before 15.9.2. If a group with SAML SSO enabled is transferred to a new namespace as a child group, it's possible previously removed malicious maintainer or owner of the child group can still gain access to the group via SSO or a SCIM token to perform actions on the group."
                }
            ],
            "affected": [
                {
                    "vendor": "GitLab",
                    "product": "GitLab",
                    "versions": [
                        {
                            "version": ">=15.1, <15.7.8",
                            "status": "affected"
                        },
                        {
                            "version": ">=15.8, <15.8.4",
                            "status": "affected"
                        },
                        {
                            "version": ">=15.9, <15.9.2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/385050"
                },
                {
                    "url": "https://hackerone.com/reports/1791518"
                },
                {
                    "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4331.json"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Thanks [vaib25vicky](https://hackerone.com/vaib25vicky) for reporting this vulnerability through our HackerOne bug bounty program"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "HIGH",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.7,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "Improper access control in GitLab"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T01:34:50.155Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/385050",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://hackerone.com/reports/1791518",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4331.json",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}