CVE-2023-22381 Code injection in GitHub Enterprise Server leading to arbitrary environment variables in GitHub Actions
HighCVSS 8.8
EPSS 0.84%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| GitHub Enterprise Server | < 3.4.15; >= 3.4.0, < 3.4.15; >= 3.5.0, < 3.5.12; >= 3.6.0, < 3.6.8 +1 more | 3.4.15, 3.5.12, 3.6.8, 3.7.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GitHub Enterprise Server | >= 3.4.0, < 3.4.15 | 3.4.15 |
| GitHub Enterprise Server | >= 3.5.0, < 3.5.12 | 3.5.12 |
| GitHub Enterprise Server | >= 3.6.0, < 3.6.8 | 3.6.8 |
| GitHub Enterprise Server | >= 3.7.0, < 3.7.5 | 3.7.5 |
| GitHub Enterprise Server | < 3.4.15 | 3.4.15 |
References
- docs.github.com release-notes
- docs.github.com release-notes
- docs.github.com release-notes
- docs.github.com release-notes
- docs.github.com release-notes