RCE in Github Enterprise Server
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. 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.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.008 (54.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.1 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L.
Affected products
- Github Enterprise Server — versions 3.4.0, 3.5.0, 3.6.0
- Github Enterprise_server
Weakness classification (CWE)
References
- product-cna@github.com (Release Notes)
- product-cna@github.com (Release Notes)
- product-cna@github.com (Release Notes)
- product-cna@github.com (Release Notes)
- product-cna@github.com (Release Notes)
Frequently asked questions
- What is CVE-2023-22381?
- CVE-2023-22381 is a medium-severity vulnerability in Github Enterprise Server, classified under Code Injection. CVSS score: 4.1/10. Published 2023-03-02.
- How severe is CVE-2023-22381?
- Medium severity. CVSS v3 base score is 4.1 out of 10.