Unrated severityNVD Advisory· Published Mar 2, 2023· Updated Mar 5, 2025
Code injection in GitHub Enterprise Server leading to arbitrary environment variables in GitHub Actions
CVE-2023-22381
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2<3.8.0+ 1 more
- (no CPE)range: <3.8.0
- (no CPE)range: 3.4.0
Patches
Vulnerability mechanics
References
5- docs.github.com/en/enterprise-server@3.4/admin/release-notesmitre
- docs.github.com/en/enterprise-server@3.5/admin/release-notesmitre
- docs.github.com/en/enterprise-server@3.6/admin/release-notesmitre
- docs.github.com/en/enterprise-server@3.7/admin/release-notesmitre
- docs.github.com/en/enterprise-server@3.8/admin/release-notesmitre
News mentions
0No linked articles in our index yet.