Vulnerability Details : CVE-2021-22864
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.
Vulnerability category: Execute code
Products affected by CVE-2021-22864
- cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
- cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
- cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-22864
0.93%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 81 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-22864
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:P/A:P |
8.0
|
6.4
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST |
CWE ids for CVE-2021-22864
-
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.Assigned by:
- nvd@nist.gov (Primary)
- product-cna@github.com (Secondary)
References for CVE-2021-22864
-
https://docs.github.com/en/enterprise-server@3.0/admin/release-notes#3.0.3
Release notes - GitHub DocsRelease Notes;Third Party Advisory
-
https://docs.github.com/en/enterprise-server@2.22/admin/release-notes#2.22.9
Release notes - GitHub DocsRelease Notes;Third Party Advisory
-
https://docs.github.com/en/enterprise-server@2.21/admin/release-notes#2.21.17
Release notes - GitHub DocsRelease Notes;Third Party Advisory
Jump to