GitHub Enterprise Server root-level file modification in pre-receive hooks
GitHub Enterprise Server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| GitHub Enterprise Server |
| No fix yet |
Original description
A site administrator could modify files on the appliance host with root privileges and disclose private repository data due to improper path validation in GitHub Enterprise Server. Exploitation required a crafted pre-receive hook environment. This vulnerability affected supported GitHub Enterprise Server versions prior to 3.23 and was fixed in versions 3.19.16, 3.20.12, 3.21.10, and 3.22.5. This vulnerability was reported via the GitHub Bug Bounty program.