CVE-2021-22866

CVSS V2 Medium 6.8 CVSS V3 High 8.8
Description
A UI misrepresentation vulnerability was identified in GitHub Enterprise Server that allowed more permissions to be granted during a GitHub App's user-authorization web flow than was displayed to the user during approval. To exploit this vulnerability, an attacker would need to create a GitHub App on the instance and have a user authorize the application through the web authentication flow. All permissions being granted would properly be shown during the first authorization, but in certain circumstances, if the user revisits the authorization flow after the GitHub App has configured additional user-level permissions, those additional permissions may not be shown, leading to more permissions being granted than the user potentially intended. This vulnerability affected GitHub Enterprise Server 3.0.x prior to 3.0.7 and 2.22.x prior to 2.22.13. It was fixed in versions 3.0.7 and 2.22.13. This vulnerability was reported via the GitHub Bug Bounty program.
Overview
  • CVE ID
  • CVE-2021-22866
  • Assigner
  • product-cna@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-05-14T21:15:07
  • Last Modified Date
  • 2021-05-25T16:06:26
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* 1 OR 2.20.0 2.22.13
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* 1 OR 3.0.0 3.0.7
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 6.8
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • REQUIRED
  • 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@3.0/admin/release-notes#3.0.7 Release Notes Third Party Advisory
https://docs.github.com/en/enterprise-server@2.22/admin/release-notes#2.22.13 Release Notes Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 16:14:56 Added to TrackCVE
2022-12-05 02:27:39 2021-05-14T21:15Z 2021-05-14T21:15:07 CVE Published Date updated
2022-12-05 02:27:39 2021-05-25T16:06:26 CVE Modified Date updated
2022-12-05 02:27:39 Analyzed Vulnerability Status updated