Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2021-22865
Modified
More InfoOfficial Page
Source-product-cna@github.com
View Known Exploited Vulnerability (KEV) details
Published At-02 Apr, 2021 | 18:15
Updated At-07 Nov, 2023 | 03:30

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.

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.16.5MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Primary2.04.3MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N
Type: Primary
Version: 3.1
Base score: 6.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Type: Primary
Version: 2.0
Base score: 4.3
Base severity: MEDIUM
Vector:
AV:N/AC:M/Au:N/C:P/I:N/A:N
CPE Matches

GitHub, Inc.
github
>>enterprise_server>>Versions before 2.21.18(exclusive)
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
GitHub, Inc.
github
>>enterprise_server>>Versions from 2.22.0(inclusive) to 2.22.10(exclusive)
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
GitHub, Inc.
github
>>enterprise_server>>Versions from 3.0.0(inclusive) to 3.0.4(exclusive)
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
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.21/admin/release-notes#2.21.18product-cna@github.com
N/A
https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.10product-cna@github.com
N/A
https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.4product-cna@github.com
N/A
Hyperlink: https://docs.github.com/en/enterprise-server%402.21/admin/release-notes#2.21.18
Source: product-cna@github.com
Resource: N/A
Hyperlink: https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.10
Source: product-cna@github.com
Resource: N/A
Hyperlink: https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.4
Source: product-cna@github.com
Resource: N/A
Change History
0Changes found

Details not found