Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Github | Enterprise Server | 3.7.0 |
Related Weaknesses (CWE)
References
- https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.1
- https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.1
FAQ
What is CVE-2022-46255?
CVE-2022-46255 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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...
How severe is CVE-2022-46255?
CVE-2022-46255 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2022-46255?
Check the references section above for vendor advisories and patch information. Affected products include: Github Enterprise Server.