First published: Wed Dec 14 2022(Updated: )
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.
Credit: product-cna@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
GitHub Enterprise Server | =3.7.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-46255 is a vulnerability in GitHub Enterprise Server that allows remote code execution.
CVE-2022-46255 has a severity rating of 9.8 (Critical).
CVE-2022-46255 allows an attacker to remotely execute code on a vulnerable GitHub Enterprise Server.
GitHub Enterprise Server version 3.7.0 is affected by CVE-2022-46255.
To prevent CVE-2022-46255, it is recommended to update GitHub Enterprise Server to version 3.7.1 or later.