GitHub Enterprise Server
Authorization bypass through user-controlled key vulnerability in GitHub Enterprise Server allowed disclosure of private pull request review-thread data
An authorization bypass through user-controlled key vulnerability was identified in GitHub Enterprise Server that allowed authenticated users to read review-thread data from private repositories they could not access. An attacker required an authenticated account, a readable repository and pull request to use as the request context, and target review-thread identifiers. The thread-preview endpoint resolved supplied identifiers without restricting them to the authorized pull request, exposing private file paths and, when positioning and diff data were available, source-code excerpts, commit identifiers, and line metadata without victim interaction. This vulnerability affected supported GitHub Enterprise Server releases in the 3.21, 3.22 series and was fixed in versions 3.21.10, 3.22.5. This vulnerability was reported via the GitHub Bug Bounty program.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.21.0, < 3.21.*
- >= 3.22.0, < 3.22.*
Fixed in 3.21.*, 3.21.10, 3.22.*, 3.22.5
Mitigation
Upgrade Enterprise Server to 3.21.* or 3.21.10 or 3.22.* or 3.22.5 or later.
References
- Release notes docs.github.com/en/enterprise-server@3.21/admin/rel…
- Release notes docs.github.com/en/enterprise-server@3.22/admin/rel…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.