Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-22861— Improper access control in GitHub Enterprise Server leading to unauthorized write access to forkable repositories

Quick assessment

Affected
GitHub GitHub Enterprise Server
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GitHub是一套面向开源及私有软件项目的托管平台。 GitHub Enterprise Server 存在安全漏洞,该漏洞允许实例的经过身份验证的用户通过特别设计的pull请求和REST API请求获得对未授权存储库的写访问权。以下产品及版本:GitHub Enterprise Server since 2.4.21 and was fixed in versions 2.20.24, 2.21.15, 2.22.7 and 3.0.1。

AI Predicted 7.4 Difficulty: Moderate EPSS 0.95% · P60

Possible ATT&CK Techniques 1 AI

T1098.003 · Additional Cloud Roles
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-22861

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Improper access control in GitHub Enterprise Server leading to unauthorized write access to forkable repositories
Source: CVE Program / CVE List V5
Vulnerability Description
An improper access control vulnerability was identified in GitHub Enterprise Server that allowed authenticated users of the instance to gain write access to unauthorized repositories via specifically crafted pull requests and REST API requests. An attacker would need to be able to fork the targeted repository, a setting that is disabled by default for organization owned private repositories. Branch protections such as required pull request reviews or status checks would prevent unauthorized commits from being merged without further review or validation. This vulnerability affected all versions of GitHub Enterprise Server since 2.4.21 and was fixed in versions 2.20.24, 2.21.15, 2.22.7 and 3.0.1. This vulnerability was reported via the GitHub Bug Bounty program.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
GitHub Enterprise Server 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GitHub是一套面向开源及私有软件项目的托管平台。 GitHub Enterprise Server 存在安全漏洞,该漏洞允许实例的经过身份验证的用户通过特别设计的pull请求和REST API请求获得对未授权存储库的写访问权。以下产品及版本:GitHub Enterprise Server since 2.4.21 and was fixed in versions 2.20.24, 2.21.15, 2.22.7 and 3.0.1。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
GitHub GitHub Enterprise Server 2.20 ~ 2.20.24 -

II. Public POCs for CVE-2021-22861

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-22861

请登录查看更多情报信息。

Other References for CVE-2021-22861 (2)

Same Patch Batch · GitHub · 2021-03-03 · 4 CVEs total

CVE-2020-10519 Unsafe configuration options in GitHub Pages leading to remote code execution on GitHub En
CVE-2021-22862 Improper access control in GitHub Enterprise Server leading to the disclosure of Actions s
CVE-2021-22863 Improper access control in GitHub Enterprise Server leading to unauthorized changes to mai

IV. Related Vulnerabilities

V. Comments for CVE-2021-22861

No comments yet


Leave a comment