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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GitHub | Enterprise Server | 3.19.0 – < 3.19.*, 3.20.0 – < 3.20.*, 3.21.0 – < 3.21.*, 3.22.0 – < 3.22.* | 3.19.* |
References
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.16 release-notes
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.12 release-notes
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.10 release-notes
- https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.5 release-notes