CVE-2021-22868
Unsafe configuration options in GitHub Pages leading to path traversal on GitHub Enterprise Server
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
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.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-01-06 CVE Reserved
- 2021-09-24 CVE Published
- 2023-11-08 EPSS Updated
- 2024-08-03 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://docs.github.com/en/enterprise-server%402.22/admin/release-notes#2.22.22 | X_refsource_misc | |
https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.16 | X_refsource_misc | |
https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.8 | X_refsource_misc |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Github Search vendor "Github" | Enterprise Server Search vendor "Github" for product "Enterprise Server" | < 2.22.22 Search vendor "Github" for product "Enterprise Server" and version " < 2.22.22" | - |
Affected
| ||||||
Github Search vendor "Github" | Enterprise Server Search vendor "Github" for product "Enterprise Server" | >= 3.0.0 < 3.0.16 Search vendor "Github" for product "Enterprise Server" and version " >= 3.0.0 < 3.0.16" | - |
Affected
| ||||||
Github Search vendor "Github" | Enterprise Server Search vendor "Github" for product "Enterprise Server" | >= 3.1.0 < 3.1.8 Search vendor "Github" for product "Enterprise Server" and version " >= 3.1.0 < 3.1.8" | - |
Affected
|