Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-22865

published

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

Published
02 Apr 2021, 17:25:14 UTC
Updated
03 Aug 2024, 18:51:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
GitHub — GitHub Enterprise Server3.0 to < 3.0.4 · 2.22 to < 2.22.10 · 2.21 to < 2.21.18 Affected Not stated GitHub_P

Description

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.

en · GitHub_P · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
GitHub GitHub Enterprise Server 3.0 to < 3.0.4 (affected · custom)2.22 to < 2.22.10 (affected · custom)2.21 to < 2.21.18 (affected · custom) GitHub_P · cna

Weaknesses

1
  • CWE-285 CWE-285: Improper Authorization (GitHub_P · cna)

References

3

Provider assertions

2

GitHub_P · cna

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

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
61023d6ea20c4ce616985f49ba1b7b8679c56fe41baf2310224f85018218974a
Ingested
23 Sep 2026, 07:52:45 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected