CVE-2021-22870

published 10 Nov 2021 · updated 3 Aug 2024

Path traversal in GitHub Enterprise Server hosted Pages leads to unauthorized file read access

5.0MediumEPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.0.19, 3.1.11 and 3.2.3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GitHub>=3.0 <3.0.19, >=3.1 <3.1.11, >=3.2 <3.2.33.0.19, 3.1.11, 3.2.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-22870 severity on Zeptric[![CVE-2021-22870](https://zeptric.io/badge/cve/CVE-2021-22870.svg)](https://zeptric.io/cve/CVE-2021-22870)