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

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

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
61stpercentile

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

References

Related Vulnerabilities

Other CWE-451 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-38112High7.584%KEVFix
CVE-2025-9491High7.869%--
CVE-2024-43461High8.852%KEVFix
CVE-2024-38197Medium6.516%--
CVE-2024-49040High7.57.7%-Fix
CVE-2026-0907Critical9.87.7%-Fix

Common questions

How do I fix CVE-2021-22866?

Upgrade enterprise server to 3.0.7 or later.

Is CVE-2021-22866 being actively exploited?

Not that we know of. CVE-2021-22866 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.0% is the estimated probability that it will be exploited in the next 30 days. That is higher than 61% of all scored CVEs.

How severe is CVE-2021-22866?

CVE-2021-22866 has a CVSS v3 base score of 8.8, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-22866 affect?

Published advisories record a fix for enterprise server (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.