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.




Code Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
GitHub_PCNA
4.1 MEDIUM
NETWORK
HIGH
HIGH
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: 64%
Affected Products (NVD)
VendorProductVersion
githubenterprise_server
𝑥
< 3.4.15
githubenterprise_server
3.5.0 ≤
𝑥
< 3.5.12
githubenterprise_server
3.6.0 ≤
𝑥
< 3.6.8
githubenterprise_server
3.7.0 ≤
𝑥
< 3.7.5
𝑥
= Vulnerable software versions
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources.
VendorProductVersionSource
githubgithub
3.4.0 ≤
𝑥
≤ 3.4.14
CNA
githubgithub
3.5.0 ≤
𝑥
≤ 3.5.11
CNA
githubgithub
3.6.0 ≤
𝑥
≤ 3.6.7
CNA
githubgithub
3.7.0 ≤
𝑥
≤ 3.7.4
CNA