CVE-2023-46645

Path traversal in GitHub Enterprise Server leading to arbitrary file reading when building a GitHub Pages site

State
Published
Severity
6.8 Medium
Published
Dec 21, 2023
Updated
Sep 13, 2024
Reserved
Oct 24, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:NGitHub_P

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
Enterprise ServerGitHub
  • 3.7.0 to before 3.7.19Affected
  • 3.8.0 to before 3.8.12Affected
  • 3.9.0 to before 3.9.7Affected
  • 3.10.0 to before 3.8.4Affected
  • 3.11.0 to before 3.11.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.