FKIE_CVE-2021-22865
Vulnerability from fkie_nvd - Published: 2021-04-02 18:15 - Updated: 2026-06-17 03:37| Vendor | Product | Version | |
|---|---|---|---|
| github | enterprise_server | * | |
| github | enterprise_server | * | |
| github | enterprise_server | * |
{
"affected": [
{
"affectedData": [
{
"product": "GitHub Enterprise Server",
"vendor": "GitHub",
"versions": [
{
"lessThan": "3.0.4",
"status": "affected",
"version": "3.0",
"versionType": "custom"
},
{
"lessThan": "2.22.10",
"status": "affected",
"version": "2.22",
"versionType": "custom"
},
{
"lessThan": "2.21.18",
"status": "affected",
"version": "2.21",
"versionType": "custom"
}
]
}
],
"source": "product-cna@github.com"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"matchCriteriaId": "83563454-A07F-4BB4-8372-C950C437CCA7",
"versionEndExcluding": "2.21.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"matchCriteriaId": "7CDD3874-DF16-4708-B490-B9837E8C1E84",
"versionEndExcluding": "2.22.10",
"versionStartIncluding": "2.22.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"matchCriteriaId": "A99BF524-7BF7-4DD9-845D-EF117D94D71F",
"versionEndExcluding": "3.0.4",
"versionStartIncluding": "3.0.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "An improper access control vulnerability was identified in GitHub Enterprise Server that allowed access tokens generated from a GitHub App\u0027s web authentication flow to read private repository metadata via the REST API without having been granted the appropriate permissions. 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. The private repository metadata returned would be limited to repositories owned by the user the token identifies. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.0.4 and was fixed in versions 3.0.4, 2.22.10, 2.21.18. This vulnerability was reported via the GitHub Bug Bounty program."
},
{
"lang": "es",
"value": "Se identific\u00f3 una vulnerabilidad de control de acceso inapropiado en GitHub Enterprise Server que permit\u00eda que los tokens de acceso generados a partir del flujo de autenticaci\u00f3n web de una aplicaci\u00f3n GitHub leyeran metadatos del repositorio privado por medio de la API REST sin haber recibido los permisos apropiados.\u0026#xa0;Para explotar esta vulnerabilidad, un atacante necesitar\u00eda crear una aplicaci\u00f3n GitHub en la instancia y hacer que un usuario autorizara la aplicaci\u00f3n mediante el flujo de autenticaci\u00f3n web.\u0026#xa0;Los metadatos del repositorio privado devueltos se limitar\u00edan a los repositorios propiedad del usuario que identifica el token.\u0026#xa0;Esta vulnerabilidad afect\u00f3 a todas las versiones de GitHub Enterprise Server anteriores a la 3.0.4 y fue corregido en versiones 3.0.4, 2.22.10, 2.21.18.\u0026#xa0;Esta vulnerabilidad se report\u00f3 por medio del programa GitHub Bug Bounty."
}
],
"id": "CVE-2021-22865",
"lastModified": "2026-06-17T03:37:54.410",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "MEDIUM",
"cvssData": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 4.3,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "NONE",
"vectorString": "AV:N/AC:M/Au:N/C:P/I:N/A:N",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": true
}
],
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 3.6,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2021-04-02T18:15:21.997",
"references": [
{
"source": "product-cna@github.com",
"url": "https://docs.github.com/en/enterprise-server%402.21/admin/release-notes#2.21.18"
},
{
"source": "product-cna@github.com",
"url": "https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.10"
},
{
"source": "product-cna@github.com",
"url": "https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.4"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://docs.github.com/en/enterprise-server%402.21/admin/release-notes#2.21.18"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.10"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.4"
}
],
"sourceIdentifier": "product-cna@github.com",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-285"
}
],
"source": "product-cna@github.com",
"type": "Secondary"
},
{
"description": [
{
"lang": "en",
"value": "NVD-CWE-Other"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.