CVE-2021-22867
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.3 and was fixed in 3.1.3, 3.0.11, and 2.22.17. This vulnerability was reported via the GitHub Bug Bounty program.
Se ha identificado una vulnerabilidad de salto de ruta en GitHub Enterprise Server que podría ser explotado cuando se construye un sitio de GitHub Pages. Las opciones de configuración controladas por el usuario utilizadas por GitHub Pages no estaban suficientemente restringidas y hacían posible 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.3 y fue corregida en las versiones 3.1.3, 3.0.11 y 2.22.17. Esta vulnerabilidad fue reportada por medio del programa GitHub Bug Bounty
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-01-06 CVE Reserved
- 2021-07-14 CVE Published
- 2024-03-29 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.17 | X_refsource_misc | |
https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.11 | X_refsource_misc | |
https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.3 | 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.17 Search vendor "Github" for product "Enterprise Server" and version " < 2.22.17" | - |
Affected
| ||||||
Github Search vendor "Github" | Enterprise Server Search vendor "Github" for product "Enterprise Server" | >= 3.0.0 < 3.0.11 Search vendor "Github" for product "Enterprise Server" and version " >= 3.0.0 < 3.0.11" | - |
Affected
| ||||||
Github Search vendor "Github" | Enterprise Server Search vendor "Github" for product "Enterprise Server" | >= 3.1.0 < 3.1.3 Search vendor "Github" for product "Enterprise Server" and version " >= 3.1.0 < 3.1.3" | - |
Affected
|