CVE-2021-22866: github enterprise_server
Vulnerability summary
CVE-2021-22866 is a high (CVSS 8.8) vulnerability in github enterprise_server. EPSS estimates a 1.04% chance of exploitation in the next 30 days, higher than 63.6% of scored vulnerabilities.
Timeline
- 14-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
1.04%
Chance of exploitation in the next 30 days
Percentile
64%
Versus all other CVEs
30-day change
0.00 pp
From 1.04% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-451User Interface (UI) Misrepresentation of Critical InformationThe user interface (UI) does not properly represent critical information to the user, allowing the information - or its source - to be obscured or spoofed. This is often a component in phishing attacks.
- CWE-1021Improper Restriction of Rendered UI Layers or FramesThe web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain.
Affected systems
Github2 products
- enterprise_server≥ 2.20.0, < 2.22.13 | ≥ 3.0.0, < 3.0.7
- github enterprise server≥ 3.0, < 3.0.7 | ≥ 2.22, < 2.22.13
1 vendor · 2 products
References
2 links- docs.github.com/en/enterprise-server%403.0/admin/release-notesX Refsource MISC
- docs.github.com/en/enterprise-server%402.22/admin/release-notesX Refsource MISC