CVE-2021-22865
published 2021-04-02CVE-2021-22865: An improper access control vulnerability was identified in GitHub Enterprise Server that allowed access tokens generated from a GitHub App's web authentication…
PriorityP337medium6.5CVSS 3.1
AVNACLPRNUIRSUCHINAN
EPSS
1.32%
67.2th percentile
An improper access control vulnerability was identified in GitHub Enterprise Server that allowed access tokens generated from a GitHub App's web authentication flow to read private repository metadata via the REST API without having been granted the appropriate permissions. 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. The private repository metadata returned would be limited to repositories owned by the user the token identifies. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.0.4 and was fixed in versions 3.0.4, 2.22.10, 2.21.18. This vulnerability was reported via the GitHub Bug Bounty program.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github | enterprise_server | < 2.21.18 | 2.21.18 |
| github | enterprise_server | >= 2.22.0 < 2.22.10 | 2.22.10 |
| github | enterprise_server | >= 3.0.0 < 3.0.4 | 3.0.4 |
| github | github_enterprise_server | >= 2.21 < 2.21.18 | 2.21.18 |
| github | github_enterprise_server | >= 2.22 < 2.22.10 | 2.22.10 |
| github | github_enterprise_server | >= 3.0 < 3.0.4 | 3.0.4 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://docs.github.com/en/enterprise-server%402.21/admin/release-notes#2.21.18https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.10https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.4https://docs.github.com/en/enterprise-server%402.21/admin/release-notes#2.21.18https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.10https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.4
2021-04-02
Published