CVE-2021-22866
Last modified
CVE-2021-22866 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 1.04% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Github | Enterprise Server | >= 2.20.0, < 2.22.13 |
| Github | Enterprise Server | >= 3.0.0, < 3.0.7 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-22866?
How severe is CVE-2021-22866?
How do I fix CVE-2021-22866?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-22860EIC e-document system does not perform completed identity ve…9.8
- CVE-2021-22861An improper access control vulnerability was identified in G…6.5
- CVE-2021-22862An improper access control vulnerability was identified in G…6.5
- CVE-2021-22863An improper access control vulnerability was identified in t…8.1
- CVE-2021-22864A remote code execution vulnerability was identified in GitH…8.8
- CVE-2021-22865An improper access control vulnerability was identified in G…6.5
- CVE-2021-22867A path traversal vulnerability was identified in GitHub Ente…6.5
- CVE-2021-22868A path traversal vulnerability was identified in GitHub Ente…4.3
- CVE-2021-22869An improper access control vulnerability in GitHub Enterpris…9.8
- CVE-2021-2287Vulnerability in the Oracle VM VirtualBox product of Oracle …7.1
- CVE-2021-22870A path traversal vulnerability was identified in GitHub Page…6.5
- CVE-2021-22871Revive Adserver before 5.1.0 permits any user with a manager…4.8
Are you affected by CVE-2021-22866?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
