PT-2021-15241 · Github · Github Enterprise Server
Yvvdwf
·
Published
2021-09-24
·
Updated
2021-10-01
·
CVE-2021-22868
CVSS v3.1
4.3
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
GitHub Enterprise Server versions prior to 3.1.8
GitHub Enterprise Server versions prior to 3.0.16
GitHub Enterprise Server versions prior to 2.22.22
Description
A path traversal issue was identified that could be exploited when building a GitHub Pages site, allowing an attacker to read files on the GitHub Enterprise Server instance. This is due to insufficient restrictions on user-controlled configuration options used by GitHub Pages. To exploit this, an attacker would need permission to create and build a GitHub Pages site. The issue was reported via the GitHub Bug Bounty program and is related to an incomplete fix for a previous issue.
Recommendations
For versions prior to 3.1.8, update to version 3.1.8 or later.
For versions prior to 3.0.16, update to version 3.0.16 or later.
For versions prior to 2.22.22, update to version 2.22.22 or later.
Fix
Command Injection
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Github Enterprise Server