Description
An incorrect comparison vulnerability was identified in GitHub Enterprise Server that allowed commit smuggling by displaying an incorrect diff. To do so, an attacker would need write access to the repository and be able to correctly guess the target branch before it’s created by the code maintainer. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.9 and was fixed in versions 3.4.18, 3.5.15, 3.6.11, 3.7.8, and 3.8.1. This vulnerability was reported via the GitHub Bug Bounty program.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
GitHub Enterprise Server
Default version status: affected
3.4.0 to ≤ 3.4.17affected3.5.0 to ≤ 3.5.14affected3.6.0 to ≤ 3.6.10affected3.7.0 to ≤ 3.7.7affected3.8.0 to < 3.8.1affected3.9.0unaffected
References
- https://docs.github.com/en/enterprise-server@3.8/admin/release-notes#3.8.1 ↗
- https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.8 ↗
- https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.11 ↗
- https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.15 ↗
- https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.18 ↗