High severity · published Jan 25, 2022
CVE-2021-41598
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…
8.8
CVSS
1.2%
EPSS
No
On KEV
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 if the user later updated the set of repositories the app was installed on after the GitHub App had configured additional user-level permissions, those additional permissions would not be displayed, leading to more permissions being granted than the user potentially intended. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.3 and was fixed in versions 3.2.5, 3.1.13, 3.0.21. This vulnerability was reported via the GitHub Bug Bounty program.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 67% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ES
Enterprise Server · Github
before 3.0.21; 3.1.0 before 3.1.13; 3.2.0 before 3.2.5 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-41598
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-41598
docs.github.com
https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.21
docs.github.com
https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.13
docs.github.com
https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.5
More from Enterprise Server
9.8
CVE-2026-77987
GitHub Enterprise Server notebook viewer vulnerable to Server-side request forgery
9.8
CVE-2026-8034
Server-side request forgery vulnerability in GitHub Enterprise Server notebook viewer via URL parser confusion
9.8
CVE-2024-6800
An XML signature wrapping vulnerability was present in GitHub Enterprise Server (GHES) when using SAML authentication with specific identity providers utilizing publicly exposed…
9.8
CVE-2024-4985
An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES) when utilizing SAML single sign-on authentication with the optional encrypted assertions…
9.8
CVE-2024-0200
An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection
