Description
An authorization bypass vulnerability was identified in GitHub Enterprise Server that allowed any authenticated user of the instance to read the raw diff or patch of pull requests in private repositories without authorization. Access tokens for raw pull request diffs and patches were scoped to the repository name and pull request number rather than to a globally unique repository identifier, so an attacker who created a repository and pull request matching a target's repository name and pull request number could use a token for their own repository to retrieve the private pull request's contents. Exploitation required the attacker to know the target repository's name and a valid pull request number. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.17.21, 3.18.15, 3.19.12, 3.20.8, and 3.21.6. This vulnerability was reported via the GitHub Bug Bounty program.
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N · Attack vector: NetworkReferences (5)
| https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.21 | Release NotesVendor Advisory |
| https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.15 | Release NotesVendor Advisory |
| https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.12 | Release NotesVendor Advisory |
| https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.8 | Release NotesVendor Advisory |
| https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.6 | Release NotesVendor Advisory |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Learn about this vulnerability
CVSS vs EPSS vs CISA KEV: Understanding the DifferencesThree signals, three different questions. CVSS measures how bad a flaw could be, EPSS estimates how likely exploitation is, and KEV confirms attackers are already using it.Intermediate · 4-minute readWhat Is a CVE? A Beginner's Guide to VulnerabilitiesCVE IDs are the common names for publicly known security flaws. Learn who assigns them, what a CVE record contains, and what a CVE does and doesn't tell you.Beginner · 4-minute readHow to Check Whether Your Software Version Is Affected by a CVEA version match is a starting point, not a verdict. A step-by-step method to confirm exposure using advisories, version ranges and backport notes.Intermediate · 4-minute readTrack this software
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Github Enterprise Server