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.
The product compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Enterprise_server | Github | * | 3.4.18 (excluding) |
Enterprise_server | Github | 3.5.0 (including) | 3.5.15 (excluding) |
Enterprise_server | Github | 3.6.0 (including) | 3.6.11 (excluding) |
Enterprise_server | Github | 3.7.0 (including) | 3.7.8 (excluding) |
Enterprise_server | Github | 3.8.0 (including) | 3.8.0 (including) |
This Pillar covers several possibilities: