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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.84%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.84% probability · 56th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- github/enterprise server
- Source
- product-cna@github.com
References
- https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15Release Notes
- https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12Release Notes
- https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8Release Notes
- https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5Release Notes
- https://docs.github.com/en/enterprise-server@3.8/admin/release-notesRelease Notes
- https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15Release Notes
- https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12Release Notes
- https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8Release Notes
- https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5Release Notes
- https://docs.github.com/en/enterprise-server@3.8/admin/release-notesRelease Notes
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.