Show plain JSON{"dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": {"cveId": "CVE-2023-22381", "assignerOrgId": "82327ea3-741d-41e4-88f8-2cf9e791e760", "state": "PUBLISHED", "assignerShortName": "GitHub_P", "dateReserved": "2022-12-20T16:09:19.318Z", "datePublished": "2023-03-02T20:54:34.191Z", "dateUpdated": "2025-03-05T20:05:02.297Z"}, "containers": {"cna": {"affected": [{"defaultStatus": "affected", "product": "Enterprise Server", "vendor": "GitHub", "versions": [{"changes": [{"at": "3.4.15", "status": "unaffected"}], "lessThanOrEqual": "3.4.14", "status": "affected", "version": "3.4.0", "versionType": "semver"}, {"changes": [{"at": "3.5.12", "status": "unaffected"}], "lessThanOrEqual": "3.5.11", "status": "affected", "version": "3.5.0", "versionType": "semver"}, {"changes": [{"at": "3.6.8", "status": "unaffected"}], "lessThanOrEqual": "3.6.7", "status": "affected", "version": "3.6.0", "versionType": "semver"}, {"changes": [{"at": "3.7.5", "status": "unaffected"}], "lessThanOrEqual": "3.7.4", "status": "affected", "version": "3.7.0", "versionType": "semver"}, {"status": "unaffected", "version": "3.8.0"}]}], "credits": [{"lang": "en", "type": "finder", "user": "00000000-0000-4000-9000-000000000000", "value": "RyotaK"}], "descriptions": [{"lang": "en", "supportingMedia": [{"base64": false, "type": "text/html", "value": "<p>A code injection vulnerability was identified in GitHub Enterprise Server that allowed setting arbitrary environment variables from a single environment variable value in GitHub Actions when using a Windows based runner. To exploit this vulnerability, an attacker would need existing permission to control the value of environment variables for use with GitHub Actions. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.8.0 and was fixed in versions 3.4.15, 3.5.12, 3.6.8, 3.7.5. This vulnerability was reported via the GitHub Bug Bounty program.</p>\n\n\n"}], "value": "A code injection vulnerability was identified in GitHub Enterprise Server that allowed setting arbitrary environment variables from a single environment variable value in GitHub Actions when using a Windows based runner. To exploit this vulnerability, an attacker would need existing permission to control the value of environment variables for use with GitHub Actions. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.8.0 and was fixed in versions 3.4.15, 3.5.12, 3.6.8, 3.7.5. This vulnerability was reported via the GitHub Bug Bounty program.\n\n\n\n\n"}], "impacts": [{"capecId": "CAPEC-77", "descriptions": [{"lang": "en", "value": "CAPEC-77 Manipulating User-Controlled Variables"}]}], "metrics": [{"cvssV3_1": {"attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 4.1, "baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "privilegesRequired": "HIGH", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L", "version": "3.1"}, "format": "CVSS", "scenarios": [{"lang": "en", "value": "GENERAL"}]}], "problemTypes": [{"descriptions": [{"cweId": "CWE-94", "description": "CWE-94 Improper Control of Generation of Code ('Code Injection')", "lang": "en", "type": "CWE"}]}], "providerMetadata": {"orgId": "82327ea3-741d-41e4-88f8-2cf9e791e760", "shortName": "GitHub_P", "dateUpdated": "2023-03-02T20:54:34.191Z"}, "references": [{"url": "https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5"}, {"url": "https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8"}, {"url": "https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12"}, {"url": "https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15"}, {"url": "https://docs.github.com/en/enterprise-server@3.8/admin/release-notes"}], "source": {"discovery": "EXTERNAL"}, "title": "Code injection in GitHub Enterprise Server leading to arbitrary environment variables in GitHub Actions", "x_generator": {"engine": "Vulnogram 0.1.0-dev"}}, "adp": [{"providerMetadata": {"orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-02T10:07:06.540Z"}, "title": "CVE Program Container", "references": [{"url": "https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5", "tags": ["x_transferred"]}, {"url": "https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8", "tags": ["x_transferred"]}, {"url": "https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12", "tags": ["x_transferred"]}, {"url": "https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15", "tags": ["x_transferred"]}, {"url": "https://docs.github.com/en/enterprise-server@3.8/admin/release-notes", "tags": ["x_transferred"]}]}, {"metrics": [{"other": {"type": "ssvc", "content": {"timestamp": "2025-03-05T20:04:54.716662Z", "id": "CVE-2023-22381", "options": [{"Exploitation": "none"}, {"Automatable": "no"}, {"Technical Impact": "partial"}], "role": "CISA Coordinator", "version": "2.0.3"}}}], "title": "CISA ADP Vulnrichment", "providerMetadata": {"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-03-05T20:05:02.297Z"}}]}}