CVE-2021-22868
Severity CVSS v4.0:
Pending analysis
Type:
CWE-22
Path Traversal
Publication date:
24/09/2021
Last modified:
07/11/2023
Description
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.
Impact
Base Score 3.x
4.30
Severity 3.x
MEDIUM
Base Score 2.0
4.00
Severity 2.0
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* | 2.22.22 (excluding) | |
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* | 3.0.0 (including) | 3.0.16 (excluding) |
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* | 3.1.0 (including) | 3.1.8 (excluding) |
To consult the complete list of CPE names with products and versions, see this page