4.3medium
Unsafe configuration options in GitHub Pages leading to path traversal on GitHub Enterprise Server
- Severity
- 4.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.93% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_P
Description
A path traversal vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. User-controlled configuration options used by GitHub Pages were not sufficiently restricted and made it possible to read files on the GitHub Enterprise Server instance. 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.1.8 and was fixed in 3.1.8, 3.0.16, and 2.22.22. This vulnerability was reported via the GitHub Bug Bounty program. This is the result of an incomplete fix for CVE-2021-22867.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitHub GitHub Enterprise Server | from 2.22 before 2.22.22, from 3.0 before 3.0.16, from 3.1 before 3.1.8 | CVE List |
| github enterprise_server | before 2.22.22, from 3.0.0 before 3.0.16, from 3.1.0 before 3.1.8 | NVD |
All scores
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/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 Enterprise Server that could be exploited when building a GitHub Pages site. User-controlled configuration options used by GitHub Pages were not sufficiently restricted and made it possible to read files on the GitHub Enterprise Server instance. 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.1.8 and was fixed in 3.1.8, 3.0.16, and 2.22.22. This vulnerability was reported via the GitHub Bug Bounty program. This is the result of an incomplete fix for CVE-2021-22867.
NVD (es)
Se Identificó una vulnerabilidad de salto de ruta en GitHub Enterprise Server que podría explotarse cuando se creaba un sitio de GitHub Pages. Las opciones de configuración controladas por el usuario usadas por GitHub Pages no estaban suficientemente restringidas y permitían leer archivos en la instancia de GitHub Enterprise Server. 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.1.8 y fue corregida en las versiones 3.1.8, 3.0.16 y 2.22.22. Esta vulnerabilidad fue reportada por medio del programa GitHub Bug Bounty. Esto es el resultado de una corrección incompleta de CVE-2021-22867.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22868 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-22868 changed 2026-06-17 | Public domain |