CVE-2021-22869: github enterprise_server Exposure of Resource to Wrong Sphere
Vulnerability summary
CVE-2021-22869 is a critical (CVSS 9.8) Exposure of Resource to Wrong Sphere vulnerability in github enterprise_server. EPSS estimates a 1.20% chance of exploitation in the next 30 days, higher than 67.6% of scored vulnerabilities.
Timeline
- 24-09-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
An improper access control vulnerability in GitHub Enterprise Server allowed a workflow job to execute in a self-hosted runner group it should not have had access to. This affects customers using self-hosted runner groups for access control. A repository with access to one enterprise runner group could access all of the enterprise runner groups within the organization because of improper authentication checks during the request. This could cause code to be run unintentionally by the incorrect runner group. This vulnerability affected GitHub Enterprise Server versions from 3.0.0 to 3.0.15 and 3.1.0 to 3.1.7 and was fixed in 3.0.16 and 3.1.8 releases.
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
1.20%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
0.00 pp
From 1.20% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-668Exposure of Resource to Wrong SphereThe product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.
- CWE-287Improper AuthenticationWhen an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
Affected systems
Github2 products
- enterprise_server≥ 3.0.0, < 3.0.16 | ≥ 3.1.0, < 3.1.8
- github enterprise server≥ 3.0, < 3.0.16 | ≥ 3.1, < 3.1.8
1 vendor · 2 products
References
2 links- docs.github.com/en/enterprise-server%403.0/admin/release-notesX Refsource MISC
- docs.github.com/en/enterprise-server%403.1/admin/release-notesX Refsource MISC