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

Unsafe configuration options in GitHub Pages leading to path traversal on GitHub Enterprise Server

Vulnerability Description

A path traversal vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. User-controlled configuration options used by GitHub Pages were not sufficiently restricted and made it possible to read files 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 3.1.3 and was fixed in 3.1.3, 3.0.11, and 2.22.17. 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-22867

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:
2.22, 3.0, 3.1

Timeline

Official Publish: July 14th, 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)