CVE & CISA-KEV Catalog

CVE-2021-22866

HIGH
8.8
CVSS v3
NVD

Description

A UI misrepresentation vulnerability was identified in GitHub Enterprise Server that allowed more permissions to be granted during a GitHub App's user-authorization web flow than was displayed to the user during approval. 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. All permissions being granted would properly be shown during the first authorization, but in certain circumstances, if the user revisits the authorization flow after the GitHub App has configured additional user-level permissions, those additional permissions may not be shown, leading to more permissions being granted than the user potentially intended. This vulnerability affected GitHub Enterprise Server 3.0.x prior to 3.0.7 and 2.22.x prior to 2.22.13. It was fixed in versions 3.0.7 and 2.22.13. This vulnerability was reported via the GitHub Bug Bounty program.

How to fix

Remediation Available
enterprise serverNVD
Affected:>= 3.0.0, < 3.0.7Fixed in:3.0.7CVE-2021-22866derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

1.04%probability of exploitation in 30 days
60thpercentile

Moderate risk: more likely to be exploited than 60% of all known CVEs.

References

Embed a live status badge for CVE-2021-22866
CVE-2021-22866 severity badge

Markdown

[![CVE-2021-22866](https://tridentstack.com/cve/badge/CVE-2021-22866.svg)](https://tridentstack.com/cve/CVE-2021-22866)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-22866"><img src="https://tridentstack.com/cve/badge/CVE-2021-22866.svg" alt="CVE-2021-22866"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.