Vulnerabilities · 2021 · Github
CVE-2021-22870
Github Enterprise Server vulnerability
A path traversal vulnerability was identified in GitHub Pages builds on GitHub Enterprise Server that could allow an attacker to read system files. 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.3 and was fixed in versions 3.0.19, 3.1.11, and 3.2.3. This vulnerability was reported via the GitHub Bug Bounty program.
Affected products
Enterprise Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Github Enterprise Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Github products
CVE-2025-23369CVE-2025-14046CVE-2025-13744CVE-2025-11892CVE-2025-11578CVE-2025-8447CVE-2025-6981CVE-2025-6600All 125
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.