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.
References
Link | Resource |
---|---|
https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.1 | Release Notes Vendor Advisory |
Configurations
Information
Published : 2022-12-14 10:15
Updated : 2022-12-16 13:18
NVD link : CVE-2022-46255
Mitre link : CVE-2022-46255
JSON object : View
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Products Affected
github
- enterprise_server