CVEvulnerability
CVE-2023-22381
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-03-02
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.1 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
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.
Affected configurations
• github enterprise server (< 3.4.15)
• github enterprise server (>= 3.5.0 < 3.5.12)
• github enterprise server (>= 3.6.0 < 3.6.8)
• github enterprise server (>= 3.7.0 < 3.7.5)
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://docs.github.com/en/[email protected]/admin/release-notes#3.4.15 Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.5.12 Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.6.8 Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.7.5 Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.4.15 Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.5.12 Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.6.8 Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.7.5 Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes Release Notes