CVE-2021-22870
MEDIUMDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 62% of all known CVEs.
References
Related Vulnerabilities
Other CWE-23 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-27199 | High | 7.3 | 100% | KEV + Ransom | Fix |
| CVE-2020-5410 | High | 7.5 | 96% | KEV | Fix |
| CVE-2021-40870 | Critical | 9.8 | 92% | KEV | Fix |
| CVE-2025-64446 | Critical | 9.8 | 89% | KEV | Fix |
| CVE-2020-5405 | Medium | 6.5 | 69% | - | Fix |
| CVE-2025-55752 | High | 7.5 | 67% | - | Fix |
Embed a live status badge for CVE-2021-22870
Markdown
[](https://tridentstack.com/cve/CVE-2021-22870)HTML
<a href="https://tridentstack.com/cve/CVE-2021-22870"><img src="https://tridentstack.com/cve/badge/CVE-2021-22870.svg" alt="CVE-2021-22870"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.