CVE-2022-23741

Incorrect authorization in GitHub Enterprise Server token generation leading to full admin access

State
Published
Severity
7.2 High
Published
Dec 14, 2022
Updated
Apr 22, 2025
Reserved
Jan 19, 2022

Read the record on cve.org

Description

An incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed a scoped user-to-server token to escalate to full admin/owner privileges. An attacker would require an account with admin access to install a malicious GitHub App. This vulnerability was fixed in versions 3.3.17, 3.4.12, 3.5.9, and 3.6.5. This vulnerability was reported via the GitHub Bug Bounty program.

Scores

CVSSScoreVectorSource
3.17.2 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
GitHub Enterprise ServerGitHub
  • 3.3 to before 3.3.17Affected
  • 3.4 to before 3.4.12Affected
  • 3.5 to before 3.5.9Affected
  • 3.6 to before 3.6.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.