6.5medium
Path traversal in GitHub Enterprise Server hosted Pages leads to unauthorized file read access
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.10% (higher than 66% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_P
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitHub GitHub Enterprise Server | from 3.0 before 3.0.19, from 3.1 before 3.1.11, from 3.2 before 3.2.3 | CVE List |
| github enterprise_server | before 3.0.19, from 3.1.0 before 3.1.11, from 3.2.0 before 3.2.3 | NVD |
All scores
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
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
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22870 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-22870 changed 2026-06-17 | Public domain |