CVE-2020-10519: Unsafe configuration options in GitHub Pages leading to remote code execution on GitHub Enterprise Server
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.7 and was fixed in 2.22.7, 2.21.15, and 2.20.24. The underlying issues contributing to this vulnerability were identified through the GitHub Security Bug Bounty program.
Affected Software
Event History
Frequently Asked Questions
What is the vulnerability ID for this remote code execution vulnerability?
The vulnerability ID for this remote code execution vulnerability is CVE-2020-10519.
What is the severity of CVE-2020-10519?
CVE-2020-10519 has a severity rating of 8.8, which is classified as high.
How does the remote code execution vulnerability in GitHub Enterprise Server occur?
The vulnerability occurs when building a GitHub Pages site, where user-controlled configuration of the underlying parsers is not sufficiently restricted.
Which versions of GitHub Enterprise Server are affected by CVE-2020-10519?
GitHub Enterprise Server versions 2.20.24, 2.21.0 to 2.21.15, and 2.22.0 to 2.22.7 are affected by this vulnerability.
How can I mitigate the remote code execution vulnerability in GitHub Enterprise Server?
To mitigate the vulnerability, users should update their GitHub Enterprise Server to a patched version, as mentioned in the associated release notes.