{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-46256",
        "assignerOrgId": "82327ea3-741d-41e4-88f8-2cf9e791e760",
        "assignerShortName": "GitHub_P",
        "dateUpdated": "2025-04-22T15:55:55.601Z",
        "dateReserved": "2022-11-28T00:00:00.000Z",
        "datePublished": "2022-12-14T00:00:00.000Z"
    },
    "containers": {
        "cna": {
            "title": "Path traversal in GitHub Enterprise Server leading to remote code execution in GitHub Pages",
            "providerMetadata": {
                "orgId": "82327ea3-741d-41e4-88f8-2cf9e791e760",
                "shortName": "GitHub_P",
                "dateUpdated": "2022-12-14T00:00:00.000Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A path traversal vulnerability was identified in GitHub Enterprise Server that allowed remote code execution when building a GitHub Pages site. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the instance. This vulnerability was fixed in versions 3.3.17, 3.4.12, 3.5.9, 3.6.5 and 3.7.2. This vulnerability was reported via the GitHub Bug Bounty program."
                }
            ],
            "affected": [
                {
                    "vendor": "GitHub",
                    "product": "GitHub Enterprise Server",
                    "versions": [
                        {
                            "version": "3.3",
                            "status": "affected",
                            "lessThan": "3.3.17",
                            "versionType": "custom"
                        },
                        {
                            "version": "3.4",
                            "status": "affected",
                            "lessThan": "3.4.12",
                            "versionType": "custom"
                        },
                        {
                            "version": "3.5",
                            "status": "affected",
                            "lessThan": "3.5.9",
                            "versionType": "custom"
                        },
                        {
                            "version": "3.6",
                            "status": "affected",
                            "lessThan": "3.6.5",
                            "versionType": "custom"
                        },
                        {
                            "version": "3.7",
                            "status": "affected",
                            "lessThan": "3.7.2",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.17"
                },
                {
                    "url": "https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.12"
                },
                {
                    "url": "https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.9"
                },
                {
                    "url": "https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.5"
                },
                {
                    "url": "https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.2"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "yvvdwf"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-22",
                            "cweId": "CWE-22"
                        }
                    ]
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T14:31:44.431Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.17",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.12",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.9",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.5",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.2",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-22",
                                "lang": "en",
                                "description": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 8.8,
                            "attackVector": "NETWORK",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-04-22T15:55:23.481869Z",
                                "id": "CVE-2022-46256",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-04-22T15:55:55.601Z"
                }
            }
        ]
    }
}