title: Path traversal in GitHub Enterprise Server leading to arbitrary file reading when building a GitHub Pages site
description: A path traversal vulnerability was identified in GitHub Enterprise Server that allowed arbitrary file reading when building a GitHub Pages site. 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 since 3.7 and was fixed in version 3.7.19, 3.8.12, 3.9.7, 3.10.4, and 3.11.1. This vulnerability was reported via the GitHub Bug Bounty program.
problem types: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
affected:
{
defaultStatus: affected
product: Enterprise Server
vendor: GitHub
versions:
lessThan: 3.7.19, status: affected, version: 3.7.0, versionType: semver
lessThan: 3.8.12, status: affected, version: 3.8.0, versionType: semver
lessThan: 3.9.7, status: affected, version: 3.9.0, versionType: semver
lessThan: 3.8.4, status: affected, version: 3.10.0, versionType: semver
lessThan: 3.11.1, status: affected, version: 3.11.0, versionType: semver
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 6.8
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: HIGH
scope: CHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL