CVE-2021-22864
CVSS V2 Medium 6.5
CVSS V3 High 8.8
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.
Overview
- CVE ID
- CVE-2021-22864
- Assigner
- product-cna@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-03-23T22:15:12
- Last Modified Date
- 2021-03-26T21:08:56
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* | 1 | OR | 2.21.0 | 2.21.17 |
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* | 1 | OR | 2.22.0 | 2.22.9 |
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* | 1 | OR | 3.0.0 | 3.0.3 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.5
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://docs.github.com/en/enterprise-server@2.21/admin/release-notes#2.21.17 | Release Notes Third Party Advisory |
https://docs.github.com/en/enterprise-server@2.22/admin/release-notes#2.22.9 | Release Notes Third Party Advisory |
https://docs.github.com/en/enterprise-server@3.0/admin/release-notes#3.0.3 | Release Notes Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-22864 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22864 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:18:27 | Added to TrackCVE | |||
2022-12-06 00:16:34 | 2021-03-23T22:15Z | 2021-03-23T22:15:12 | CVE Published Date | updated |
2022-12-06 00:16:34 | 2021-03-26T21:08:56 | CVE Modified Date | updated | |
2022-12-06 00:16:34 | Analyzed | Vulnerability Status | updated |