Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2021-22863

Summary
Assigner-GitHub_P
Assigner Org ID-82327ea3-741d-41e4-88f8-2cf9e791e760
Published At-03 Mar, 2021 | 03:25
Updated At-03 Aug, 2024 | 18:51
Rejected At-
Credits

Improper access control in GitHub Enterprise Server leading to unauthorized changes to maintainer permissions on pull requests

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_P
Assigner Org ID:82327ea3-741d-41e4-88f8-2cf9e791e760
Published At:03 Mar, 2021 | 03:25
Updated At:03 Aug, 2024 | 18:51
Rejected At:
▼CVE Numbering Authority (CNA)
Improper access control in GitHub Enterprise Server leading to unauthorized changes to maintainer permissions on pull requests

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.

Affected Products
Vendor
GitHub, Inc.GitHub
Product
GitHub Enterprise Server
Versions
Affected
  • From 2.20 before 2.20.24 (custom)
  • From 2.21 before 2.21.15 (custom)
  • From 2.22 before 2.22.7 (custom)
  • From 3.0 before 3.0.1 (custom)
Problem Types
TypeCWE IDDescription
CWECWE-285CWE-285 Improper Authorization
Type: CWE
CWE ID: CWE-285
Description: CWE-285 Improper Authorization
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Teddy Katz
Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://docs.github.com/en/enterprise-server%402.20/admin/release-notes#2.20.24
x_refsource_MISC
https://docs.github.com/en/enterprise-server%402.21/admin/release-notes#2.21.15
x_refsource_MISC
https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.7
x_refsource_MISC
https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.1
x_refsource_MISC
Hyperlink: https://docs.github.com/en/enterprise-server%402.20/admin/release-notes#2.20.24
Resource:
x_refsource_MISC
Hyperlink: https://docs.github.com/en/enterprise-server%402.21/admin/release-notes#2.21.15
Resource:
x_refsource_MISC
Hyperlink: https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.7
Resource:
x_refsource_MISC
Hyperlink: https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.1
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://docs.github.com/en/enterprise-server%402.20/admin/release-notes#2.20.24
x_refsource_MISC
x_transferred
https://docs.github.com/en/enterprise-server%402.21/admin/release-notes#2.21.15
x_refsource_MISC
x_transferred
https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.7
x_refsource_MISC
x_transferred
https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.1
x_refsource_MISC
x_transferred
Hyperlink: https://docs.github.com/en/enterprise-server%402.20/admin/release-notes#2.20.24
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://docs.github.com/en/enterprise-server%402.21/admin/release-notes#2.21.15
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.7
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.1
Resource:
x_refsource_MISC
x_transferred
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:product-cna@github.com
Published At:03 Mar, 2021 | 04:15
Updated At:07 Nov, 2023 | 03:30

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.18.1HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Primary2.05.5MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:N
Type: Primary
Version: 3.1
Base score: 8.1
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Type: Primary
Version: 2.0
Base score: 5.5
Base severity: MEDIUM
Vector:
AV:N/AC:L/Au:S/C:P/I:P/A:N
CPE Matches

GitHub, Inc.
github
>>github>>Versions from 2.12.22(inclusive) to 2.20.24(exclusive)
cpe:2.3:a:github:github:*:*:*:*:enterprise:*:*:*
GitHub, Inc.
github
>>github>>Versions from 2.21.0(inclusive) to 2.21.15(exclusive)
cpe:2.3:a:github:github:*:*:*:*:enterprise:*:*:*
GitHub, Inc.
github
>>github>>Versions from 2.22.0(inclusive) to 2.22.7(exclusive)
cpe:2.3:a:github:github:*:*:*:*:enterprise:*:*:*
GitHub, Inc.
github
>>github>>Versions from 3.0.0(inclusive) to 3.0.1(exclusive)
cpe:2.3:a:github:github:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
NVD-CWE-OtherPrimarynvd@nist.gov
CWE-285Secondaryproduct-cna@github.com
CWE ID: NVD-CWE-Other
Type: Primary
Source: nvd@nist.gov
CWE ID: CWE-285
Type: Secondary
Source: product-cna@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://docs.github.com/en/enterprise-server%402.20/admin/release-notes#2.20.24product-cna@github.com
N/A
https://docs.github.com/en/enterprise-server%402.21/admin/release-notes#2.21.15product-cna@github.com
N/A
https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.7product-cna@github.com
N/A
https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.1product-cna@github.com
N/A
Hyperlink: https://docs.github.com/en/enterprise-server%402.20/admin/release-notes#2.20.24
Source: product-cna@github.com
Resource: N/A
Hyperlink: https://docs.github.com/en/enterprise-server%402.21/admin/release-notes#2.21.15
Source: product-cna@github.com
Resource: N/A
Hyperlink: https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.7
Source: product-cna@github.com
Resource: N/A
Hyperlink: https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.1
Source: product-cna@github.com
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found