8.8high
Unsafe configuration options in GitHub Pages leading to remote code execution on GitHub Enterprise Server
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 3.70% (higher than 90% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_P
Description
A remote code execution vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. User-controlled configuration of the underlying parsers used by GitHub Pages were not sufficiently restricted and made it possible to execute commands 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 2.22 and was fixed in 2.21.6, 2.20.15, and 2.19.21. The underlying issues contributing to this vulnerability were identified both internally and through the GitHub Security Bug Bounty program.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitHub GitHub Enterprise Server | from 2.19 before 2.19.21, from 2.20 before 2.20.15, from 2.21 before 2.21.6 | CVE List |
| github github | before 2.19.21, from 2.20.0 before 2.20.15, from 2.21.0 before 2.21.6 | NVD |
All scores
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
A remote code execution vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. User-controlled configuration of the underlying parsers used by GitHub Pages were not sufficiently restricted and made it possible to execute commands 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 2.22 and was fixed in 2.21.6, 2.20.15, and 2.19.21. The underlying issues contributing to this vulnerability were identified both internally and through the GitHub Security Bug Bounty program.
NVD (es)
Se identificó una vulnerabilidad de ejecución de código remota en GitHub Enterprise Server que podría ser explotada al crear un sitio GitHub Pages. La configuración controlada por el usuario de los analizadores subyacentes usados por las páginas de GitHub no estaba lo suficientemente restringida y permitía ejecutar comandos en la instancia de GitHub Enterprise Server. Para explotar esta vulnerabilidad, un atacante necesitaría permiso para crear y construir un sitio GitHub Pages en la instancia de GitHub Enterprise Server. Esta vulnerabilidad afectó a todas las versiones de GitHub Enterprise Server anteriores a la 2.22 y se corrigió en las versiones 2.21.6, 2.20.15 y 2.19.21. Los problemas subyacentes que contribuyen a esta vulnerabilidad se identificaron tanto internamente como por medio del programa GitHub Security Bug Bounty
References
| https://enterprise.github.com/releases/2.19.21/notes | release-notes, vendor-advisory | |
| https://enterprise.github.com/releases/2.20.15/notes | release-notes, vendor-advisory | |
| https://enterprise.github.com/releases/2.21.6/notes | release-notes, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-10518 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2020-10518 changed 2026-06-17 | Public domain |