CVE-2021-22864
GitHub Enterprise Server Code Injection Vulnerability
Description
A remote code execution 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 override environment variables leading to code execution 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.0.3 and was fixed in 3.0.3, 2.22.9, and 2.21.17. This vulnerability was reported via the GitHub Bug Bounty program.
INFO
Published Date :
March 23, 2021, 10:15 p.m.
Last Modified :
Nov. 21, 2024, 5:50 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
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-22864
.
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-22864
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-22864
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%402.21/admin/release-notes#2.21.17 Added Reference https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.9 Added Reference https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.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%402.21/admin/release-notes#2.21.17 [No types assigned] Added Reference GitHub, Inc. (Products Only) https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.9 [No types assigned] Added Reference GitHub, Inc. (Products Only) https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.3 [No types assigned] Removed Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#2.21.17 Removed Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#2.22.9 Removed Reference GitHub, Inc. (Products Only) https://docs.github.com/en/[email protected]/admin/release-notes#3.0.3 -
Reanalysis by [email protected]
Jun. 30, 2023
Action Type Old Value New Value Removed CWE NIST CWE-77 Added CWE NIST NVD-CWE-noinfo -
Initial Analysis by [email protected]
Mar. 26, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://docs.github.com/en/[email protected]/admin/release-notes#2.21.17 No Types Assigned https://docs.github.com/en/[email protected]/admin/release-notes#2.21.17 Release Notes, Third Party Advisory Changed Reference Type https://docs.github.com/en/[email protected]/admin/release-notes#2.22.9 No Types Assigned https://docs.github.com/en/[email protected]/admin/release-notes#2.22.9 Release Notes, Third Party Advisory Changed Reference Type https://docs.github.com/en/[email protected]/admin/release-notes#3.0.3 No Types Assigned https://docs.github.com/en/[email protected]/admin/release-notes#3.0.3 Release Notes, Third Party Advisory Added CWE NIST CWE-77 Added CPE Configuration OR *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions from (including) 2.21.0 up to (excluding) 2.21.17 *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions from (including) 2.22.0 up to (excluding) 2.22.9 *cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.0.3
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-22864
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-22864
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.93 }} 0.27%
score
0.81190
percentile