{
    "CVE_data_meta": {
        "ASSIGNER": "product-cna@github.com",
        "ID": "CVE-2022-23741",
        "STATE": "PUBLIC",
        "TITLE": "Incorrect authorization in GitHub Enterprise Server token generation leading to full admin access"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "GitHub Enterprise Server",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "3.3",
                                            "version_value": "3.3.17"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "3.4",
                                            "version_value": "3.4.12"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "3.5",
                                            "version_value": "3.5.9"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "3.6",
                                            "version_value": "3.6.5"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "GitHub"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Vaibhav Singh (@vaib25vicky)"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "An incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed a scoped user-to-server token to escalate to full admin/owner privileges. An attacker would require an account with admin access to install a malicious GitHub App. This vulnerability was fixed in versions 3.3.17, 3.4.12, 3.5.9, and 3.6.5. This vulnerability was reported via the GitHub Bug Bounty program."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-863"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://docs.github.com/en/enterprise-server@3.3/admin/release-notes#3.3.17",
                "name": "https://docs.github.com/en/enterprise-server@3.3/admin/release-notes#3.3.17"
            },
            {
                "refsource": "MISC",
                "url": "https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.12",
                "name": "https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.12"
            },
            {
                "refsource": "MISC",
                "url": "https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.9",
                "name": "https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.9"
            },
            {
                "refsource": "MISC",
                "url": "https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.5",
                "name": "https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.5"
            }
        ]
    },
    "source": {
        "discovery": "EXTERNAL"
    }
}