Path Traversal in Github Enterprise Server
CVE-2022-46255
An improper limitation of a pathname to a restricted directory vulnerability was identified in GitHub Enterprise Server that enabled remote code execution. A check was added within Pages to ensure the working directory is clean before unpacking new content to prevent an arbitrary file overwrite bug. This vulnerability affected only version 3.7.0 of GitHub Enterprise Server and was fixed in version 3.7.1. This vulnerability was reported via the GitHub Bug Bounty program.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.014 (70.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Github Enterprise_server — versions 3.7.0
- Github Enterprise Server — versions 3.7
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2022-46255?
- CVE-2022-46255 is a critical-severity vulnerability in Github Enterprise Server, classified under Path Traversal. CVSS score: 9.8/10. Published 2022-12-14.
- How severe is CVE-2022-46255?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-46255 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.