title: 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
description: 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.
problem types: CWE-863
affected:
{
vendor: GitHub
product: GitHub Enterprise Server
versions:
version: 3.3, status: affected, lessThan: 3.3.16, versionType: custom
version: 3.4, status: affected, lessThan: 3.4.11, versionType: custom
version: 3.5, status: affected, lessThan: 3.5.8, versionType: custom
version: 3.6, status: affected, lessThan: 3.6.4, versionType: custom
version: 3.7, status: affected, lessThan: 3.7.1, versionType: custom
}