CVE-2021-22870
Estado: ModificadaMedia (6.5)—
A path traversal vulnerability was identified in GitHub Pages builds on GitHub Enterprise Server that could allow an attacker to read system files. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.3 and was fixed in versions 3.0.19, 3.1.11, and 3.2.3. This vulnerability was reported via the GitHub Bug Bounty program.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Puntuación base: 6.5
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 1.13%
- Percentil entre todas las CVEs puntuadas: 65
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
CWE
- CWE-23
- CWE-22
Referencias
- https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.19
- https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.11
- https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.3
- https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.19
- https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.11
- https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.3
JSON original (NVD)
Mostrar
{
"id": "CVE-2021-22870",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 4,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:S/C:P/I:N/A:N",
"authentication": "SINGLE",
"integrityImpact": "NONE",
"accessComplexity": "LOW",
"availabilityImpact": "NONE",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 2.9,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
],
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 6.5,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 3.6,
"exploitabilityScore": 2.8
}
]
},
"affected": [
{
"source": "product-cna@github.com",
"affectedData": [
{
"vendor": "GitHub",
"product": "GitHub Enterprise Server",
"versions": [
{
"status": "affected",
"version": "3.0",
"lessThan": "3.0.19",
"versionType": "custom"
},
{
"status": "affected",
"version": "3.1",
"lessThan": "3.1.11",
"versionType": "custom"
},
{
"status": "affected",
"version": "3.2",
"lessThan": "3.2.3",
"versionType": "custom"
}
]
}
]
}
],
"published": "2021-11-10T02:15:06.983",
"references": [
{
"url": "https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.19",
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.11",
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.3",
"source": "product-cna@github.com"
},
{
"url": "https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.19",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.11",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.3",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "product-cna@github.com",
"description": [
{
"lang": "en",
"value": "CWE-23"
}
]
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-22"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "A path traversal vulnerability was identified in GitHub Pages builds on GitHub Enterprise Server that could allow an attacker to read system files. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.3 and was fixed in versions 3.0.19, 3.1.11, and 3.2.3. This vulnerability was reported via the GitHub Bug Bounty program."
},
{
"lang": "es",
"value": "Se ha identificado una vulnerabilidad de salto de ruta en las construcciones de GitHub Pages en GitHub Enterprise Server que podría permitir a un atacante leer archivos del sistema. Para explotar esta vulnerabilidad, un atacante necesitaría permiso para crear y construir un sitio de GitHub Pages en la instancia de GitHub Enterprise Server. Esta vulnerabilidad afectaba a todas las versiones de GitHub Enterprise Server anteriores a 3.3, y fue corregida en las versiones 3.0.19, 3.1.11 y 3.2.3. Esta vulnerabilidad fue reportada por medio del programa GitHub Bug Bounty"
}
],
"lastModified": "2026-06-17T03:37:55.003",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0AAC1986-65CE-4029-BD72-F24BD08E012E",
"versionEndExcluding": "3.0.19"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CB3F86C8-98AC-4CF5-A37D-94DCB0AA561F",
"versionEndExcluding": "3.1.11",
"versionStartIncluding": "3.1.0"
},
{
"criteria": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "908E5FE0-0E89-4A66-95A0-484EFF4AD850",
"versionEndExcluding": "3.2.3",
"versionStartIncluding": "3.2.0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "product-cna@github.com"
}