CVE-2021-22865CWE-285

Improper access control in GitHub Enterprise Server leading to unauthorized read access to private repository metadata

published April 2, 2021

CVSS
—
EPSS
1%
Percentile
71.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01363 · 71.6th percentile
Weakness
CWE-285 · Improper Authorization
Published
2021-04-02T17:25Z
EPSS history
Timeline
  • 02 APR 17:25Z
    Improper access control in GitHub Enterprise Server leading to unauthorized read access to private repository metadata
    cvelistv5