RCE in Github Enterprise Server
CVE-2021-22867
A path traversal vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. User-controlled configuration options used by GitHub Pages were not sufficiently restricted and made it possible to read files on the GitHub Enterprise Server instance. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.1.3 and was fixed in 3.1.3, 3.0.11, and 2.22.17. This vulnerability was reported via the GitHub Bug Bounty program.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.012 (64.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Github Enterprise_server
- Github Enterprise Server — versions 2.22, 3.0, 3.1
Weakness classification (CWE)
References
- product-cna@github.com (x_refsource_MISC)
- product-cna@github.com (x_refsource_MISC)
- product-cna@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-22867?
- CVE-2021-22867 is a medium-severity vulnerability in Github Enterprise Server, classified under Command Injection. CVSS score: 6.5/10. Published 2021-07-14.
- How severe is CVE-2021-22867?
- Medium severity. CVSS v3 base score is 6.5 out of 10.