Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Github | Enterprise Server | < 3.4.15 |
Related Weaknesses (CWE)
References
- https://docs.github.com/en/[email protected]/admin/release-notes#3.4.15Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.5.12Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.6.8Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.7.5Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notesRelease Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.4.15Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.5.12Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.6.8Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.7.5Release Notes
- https://docs.github.com/en/[email protected]/admin/release-notesRelease Notes
FAQ
What is CVE-2023-22381?
CVE-2023-22381 is a vulnerability with a CVSS score of 4.1 (MEDIUM). 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 W...
How severe is CVE-2023-22381?
CVE-2023-22381 has been rated MEDIUM with a CVSS base score of 4.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-22381?
Check the references section above for vendor advisories and patch information. Affected products include: Github Enterprise Server.