{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2022-2992",
        "ASSIGNER": "cve@gitlab.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "GitLab",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "GitLab",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": ">=11.10, <15.1.6"
                                        },
                                        {
                                            "version_value": ">=15.2, <15.2.4"
                                        },
                                        {
                                            "version_value": ">=15.3, <15.3.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Improper neutralization of special elements used in a command ('command injection') in GitLab"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://gitlab.com/gitlab-org/gitlab/-/issues/371884",
                "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/371884",
                "refsource": "MISC"
            },
            {
                "name": "https://hackerone.com/reports/1679624",
                "url": "https://hackerone.com/reports/1679624",
                "refsource": "MISC"
            },
            {
                "name": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2992.json",
                "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2992.json",
                "refsource": "CONFIRM"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/171008/GitLab-GitHub-Repo-Import-Deserialization-Remote-Code-Execution.html",
                "url": "http://packetstormsecurity.com/files/171008/GitLab-GitHub-Repo-Import-Deserialization-Remote-Code-Execution.html"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows an authenticated user to achieve remote code execution via the Import from GitHub API endpoint."
            }
        ]
    },
    "impact": {
        "cvss": {
            "vectorString": "AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "version": "3.1",
            "baseScore": 9.9,
            "baseSeverity": "CRITICAL"
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Thanks [vakzz](https://hackerone.com/vakzz) for reporting this vulnerability through our HackerOne bug bounty program"
        }
    ]
}