6.5
MEDIUM
CVE-2021-22867
"GitHub Enterprise Server: Path Traversal Vulnerability in GitHub Pages"
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.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.

INFO

Published Date :

July 14, 2021, 9:15 p.m.

Last Modified :

Nov. 7, 2023, 3:30 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2021-22867 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Github enterprise_server
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-22867.

URL Resource
https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.17
https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.11
https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.3

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-22867 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-22867 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference GitHub, Inc. (Products Only) https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.17 [No types assigned]
    Added Reference GitHub, Inc. (Products Only) https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.11 [No types assigned]
    Added Reference GitHub, Inc. (Products Only) https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.3 [No types assigned]
    Removed Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#2.22.17
    Removed Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#3.0.11
    Removed Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#3.1.3
  • Initial Analysis by [email protected]

    Jul. 31, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://docs.github.com/en/[email protected]/admin/release-notes#2.22.17 No Types Assigned https://docs.github.com/en/[email protected]/admin/release-notes#2.22.17 Release Notes, Vendor Advisory
    Changed Reference Type https://docs.github.com/en/[email protected]/admin/release-notes#3.0.11 No Types Assigned https://docs.github.com/en/[email protected]/admin/release-notes#3.0.11 Release Notes, Vendor Advisory
    Changed Reference Type https://docs.github.com/en/[email protected]/admin/release-notes#3.1.3 No Types Assigned https://docs.github.com/en/[email protected]/admin/release-notes#3.1.3 Release Notes, Vendor Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions up to (excluding) 2.22.17 *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.0.11 *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions from (including) 3.1.0 up to (excluding) 3.1.3
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-22867 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.25 }} 0.08%

score

0.64619

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability