8.8high
UI misrepresentation of granted permissions in GitHub Enterprise Server leading to unauthorized access to user resources
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 1.04% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_P
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitHub GitHub Enterprise Server | from 3.0 before 3.0.7, from 2.22 before 2.22.13 | CVE List |
| github enterprise_server | from 2.20.0 before 2.22.13, from 3.0.0 before 3.0.7 | NVD |
All scores
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se identificó una vulnerabilidad de tergiversación de la Interfaz de Usuario en el servidor de GitHub Enterprise que permitía que más permisos sean otorgados durante el flujo web de autorización de usuario de una aplicación de GitHub de los que se mostraban al usuario durante la aprobación. Para explotar esta vulnerabilidad, un atacante necesitaría crear una aplicación GitHub en una instancia y tener a un usuario autorizado la aplicación por medio del flujo de autenticación web. Todos los permisos otorgados se mostrarían apropiadamente durante la primera autorización, pero en determinadas circunstancias, si el usuario vuelve a visitar el flujo de autorización después de que la aplicación GitHub haya configurado permisos adicionales a nivel de usuario, es posible que esos permisos adicionales no sean mostrados, conllevando a que sean mostrados más permisos. concedido de lo que el usuario potencialmente pretendía. Esta vulnerabilidad afectó a GitHub Enterprise Server versiones 3.0.x anteriores a 3.0.7 y versiones 2.22.xanteriores a 2.22.13. Fue corregido en versiones 3.0.7 y 2.22.13. Esta vulnerabilidad fue reportada por medio del programa GitHub Bug Bounty
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22866 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-22866 changed 2026-06-17 | Public domain |