First published: Fri Sep 24 2021(Updated: )
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.8 and was fixed in 3.1.8, 3.0.16, and 2.22.22. This vulnerability was reported via the GitHub Bug Bounty program. This is the result of an incomplete fix for CVE-2021-22867.
Credit: product-cna@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
GitHub Enterprise Server | <2.22.22 | |
GitHub Enterprise Server | >=3.0.0<3.0.16 | |
GitHub Enterprise Server | >=3.1.0<3.1.8 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-22868 is a path traversal vulnerability in GitHub Enterprise Server that allows an attacker to read files on the server.
CVE-2021-22868 is exploited when building a GitHub Pages site by exploiting user-controlled configuration options that are not sufficiently restricted.
GitHub Enterprise Server versions up to and including 2.22.22, versions between 3.0.0 and 3.0.16, and versions between 3.1.0 and 3.1.8 are affected by CVE-2021-22868.
CVE-2021-22868 has a severity rating of medium with a CVSS score of 4.3.
To mitigate CVE-2021-22868, it is recommended to upgrade GitHub Enterprise Server to a version that is not affected by the vulnerability.