CVE-2023-22381
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.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Puntuación base: 8.8
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.84%
- Percentil entre todas las CVEs puntuadas: 56
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
CWE
- CWE-94
- CWE-94
Referencias
- https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15
- https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12
- https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8
- https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5
- https://docs.github.com/en/enterprise-server@3.8/admin/release-notes
- https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15
- https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12
- https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8
- https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5
- https://docs.github.com/en/enterprise-server@3.8/admin/release-notes
JSON original (NVD)
Mostrar
{
"id": "CVE-2023-22381",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2023-22381",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-03-05T20:04:54.716662Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "product-cna@github.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 4.1,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L",
"integrityImpact": "LOW",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "LOW",
"privilegesRequired": "HIGH",
"confidentialityImpact": "LOW"
},
"impactScore": 3.4,
"exploitabilityScore": 0.7
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"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"
},
"impactScore": 5.9,
"exploitabilityScore": 2.8
}
]
},
"affected": [
{
"source": "product-cna@github.com",
"affectedData": [
{
"vendor": "GitHub",
"product": "Enterprise Server",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "3.4.15",
"status": "unaffected"
}
],
"version": "3.4.0",
"versionType": "semver",
"lessThanOrEqual": "3.4.14"
},
{
"status": "affected",
"changes": [
{
"at": "3.5.12",
"status": "unaffected"
}
],
"version": "3.5.0",
"versionType": "semver",
"lessThanOrEqual": "3.5.11"
},
{
"status": "affected",
"changes": [
{
"at": "3.6.8",
"status": "unaffected"
}
],
"version": "3.6.0",
"versionType": "semver",
"lessThanOrEqual": "3.6.7"
},
{
"status": "affected",
"changes": [
{
"at": "3.7.5",
"status": "unaffected"
}
],
"version": "3.7.0",
"versionType": "semver",
"lessThanOrEqual": "3.7.4"
},
{
"status": "unaffected",
"version": "3.8.0"
}
],
"defaultStatus": "affected"
}
]
}
],
"published": "2023-03-02T21:15:10.403",
"references": [
{
"url": "https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.8/admin/release-notes",
"tags": [
"Release Notes"
],
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15",
"tags": [
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12",
"tags": [
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8",
"tags": [
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5",
"tags": [
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://docs.github.com/en/enterprise-server@3.8/admin/release-notes",
"tags": [
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "product-cna@github.com",
"description": [
{
"lang": "en",
"value": "CWE-94"
}
]
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-94"
}
]
}
],
"descriptions": [
{
"lang": "en",
"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"
}
],
"lastModified": "2026-06-17T05:35:16.687",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "64C81994-84EA-4B29-A7F5-8AFEECBEA9A6",
"versionEndExcluding": "3.4.15"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D976E9E1-1CEF-40DB-AAFF-793D8AEE1FEC",
"versionEndExcluding": "3.5.12",
"versionStartIncluding": "3.5.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B704CE69-3F7F-430A-BC02-89BD1C1CF132",
"versionEndExcluding": "3.6.8",
"versionStartIncluding": "3.6.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2B55AC18-CDFC-4CD5-9610-A0FB2C2729CD",
"versionEndExcluding": "3.7.5",
"versionStartIncluding": "3.7.0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "product-cna@github.com"
}