An improper access control vulnerability was identified in the GitHub Enterprise Server GraphQL API that allowed authenticated users of the instance to modify the maintainer collaboration permission of a pull request without proper authorization. By exploiting this vulnerability, an attacker would be able to gain access to head branches of pull requests opened on repositories of which they are a maintainer. Forking is disabled by default for organization owned private repositories and would prevent this vulnerability. Additionally, branch protections such as required pull request reviews or status checks would prevent unauthorized commits from being merged without further review or validation. This vulnerability affected all versions of GitHub Enterprise Server since 2.12.22 and was fixed in versions 2.20.24, 2.21.15, 2.22.7 and 3.0.1. This vulnerability was reported via the GitHub Bug Bounty program.
Published 2021-03-03 04:15:13
Updated 2022-10-25 14:03:47
View at NVD,   CVE.org
Vulnerability category: BypassGain privilege

Exploit prediction scoring system (EPSS) score for CVE-2021-22863

0.17%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 54 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2021-22863

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
5.5
MEDIUM AV:N/AC:L/Au:S/C:P/I:P/A:N
8.0
4.9
NIST
8.1
HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
2.8
5.2
NIST

CWE ids for CVE-2021-22863

  • The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
    Assigned by: product-cna@github.com (Secondary)

References for CVE-2021-22863

Products affected by CVE-2021-22863

  • Github » Github » Enterprise Edition
    Versions from including (>=) 2.21.0 and before (<) 2.21.15
    cpe:2.3:a:github:github:*:*:*:*:enterprise:*:*:*
  • Github » Github » Enterprise Edition
    Versions from including (>=) 2.22.0 and before (<) 2.22.7
    cpe:2.3:a:github:github:*:*:*:*:enterprise:*:*:*
  • Github » Github » Enterprise Edition
    Versions from including (>=) 2.12.22 and before (<) 2.20.24
    cpe:2.3:a:github:github:*:*:*:*:enterprise:*:*:*
  • Github » Github
    Versions from including (>=) 3.0.0 and before (<) 3.0.1
    cpe:2.3:a:github:github:*:*:*:*:*:*:*:*
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!