6.5
MEDIUM
CVE-2021-22870
GitHub Enterprise Server Path Traversal Vulnerability
Description

A path traversal vulnerability was identified in GitHub Pages builds on GitHub Enterprise Server that could allow an attacker to read system files. 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.3 and was fixed in versions 3.0.19, 3.1.11, and 3.2.3. This vulnerability was reported via the GitHub Bug Bounty program.

INFO

Published Date :

Nov. 10, 2021, 2:15 a.m.

Last Modified :

Nov. 21, 2024, 5:50 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2021-22870 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

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-22870 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-22870 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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.19
    Added Reference https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.11
    Added Reference https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.3
  • 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%403.0/admin/release-notes#3.0.19 [No types assigned]
    Added Reference GitHub, Inc. (Products Only) https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.11 [No types assigned]
    Added Reference GitHub, Inc. (Products Only) https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.3 [No types assigned]
    Removed Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#3.0.19
    Removed Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#3.1.11
    Removed Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#3.2.3
  • Initial Analysis by [email protected]

    Nov. 16, 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#3.0.19 No Types Assigned https://docs.github.com/en/[email protected]/admin/release-notes#3.0.19 Release Notes, Third Party Advisory
    Changed Reference Type https://docs.github.com/en/[email protected]/admin/release-notes#3.1.11 No Types Assigned https://docs.github.com/en/[email protected]/admin/release-notes#3.1.11 Release Notes, Third Party Advisory
    Changed Reference Type https://docs.github.com/en/[email protected]/admin/release-notes#3.2.3 No Types Assigned https://docs.github.com/en/[email protected]/admin/release-notes#3.2.3 Release Notes, Third Party Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions up to (excluding) 3.0.19 *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions from (including) 3.1.0 up to (excluding) 3.1.11 *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions from (including) 3.2.0 up to (excluding) 3.2.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-22870 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.15 }} 0.04%

score

0.50593

percentile

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