CVE-2022-23739: Incorrect authorization check in GitHub Enterprise Server leading to escalation of privileges in GraphQL API requests from GitHub Apps using scoped user-to-server tokens
An incorrect authorization vulnerability was identified in GitHub Enterprise Server, allowing for escalation of privileges in GraphQL API requests from GitHub Apps. This vulnerability allowed an app installed on an organization to gain access to and modify most organization-level resources that are not tied to a repository regardless of granted permissions, such as users and organization-wide projects. Resources associated with repositories were not impacted, such as repository file content, repository-specific projects, issues, or pull requests. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.7.1 and was fixed in versions 3.3.16, 3.4.11, 3.5.8, 3.6.4, 3.7.1. This vulnerability was reported via the GitHub Bug Bounty program.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2022-23739?
CVE-2022-23739 is an incorrect authorization vulnerability in GitHub Enterprise Server that allows for escalation of privileges in GraphQL API requests from GitHub Apps.
What is the severity of CVE-2022-23739?
CVE-2022-23739 has a severity rating of 9.8 (Critical).
Which versions of GitHub Enterprise Server are affected by CVE-2022-23739?
GitHub Enterprise Server versions up to and including 3.3.16, 3.4.0 to 3.4.11, 3.5.0 to 3.5.8, 3.6.0 to 3.6.4, and version 3.7.0 are affected by CVE-2022-23739.
How can an app installed on an organization exploit CVE-2022-23739?
By exploiting CVE-2022-23739, an app installed on an organization can gain access to and modify most organization-level resources through GraphQL API requests.
Where can I find more information about CVE-2022-23739?
You can find more information about CVE-2022-23739 in the GitHub Enterprise Server release notes at the following URLs: [https://docs.github.com/en/enterprise-server@3.3/admin/release-notes#3.3.16](https://docs.github.com/en/enterprise-server@3.3/admin/release-notes#3.3.16), [https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.11](https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.11), [https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.8](https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.8).