CVE-2021-22870 - CVE House
Back to Database
Status published Medium CVE-2021-22870

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

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-22870

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • yvvdwf

Affected Vendor

Affected Software

GitHub Enterprise Server
Vulnerable Versions:
3.0, 3.1, 3.2

Timeline

Official Publish: November 10th, 2021
Last Modified: August 3rd, 2024
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Weaknesses (CWE)