title: Incorrect comparison vulnerability in GitHub Enterprise Server leading to commit smuggling
description: An incorrect comparison vulnerability was identified in GitHub Enterprise Server that allowed commit smuggling by displaying an incorrect diff in a re-opened Pull Request. To do so, an attacker would need write access to the repository. This vulnerability affected all versions of GitHub Enterprise Server and was fixed in versions 3.6.17, 3.7.15, 3.8.8, 3.9.3, and 3.10.1. This vulnerability was reported via the GitHub Bug Bounty program.
problem types: CWE-697 Incorrect Comparison
affected:
{
defaultStatus: unaffected
product: Enterprise Server
vendor: GitHub
versions:
lessThan: 3.6.17, status: affected, version: 3.6.0, versionType: semver
lessThan: 3.7.15, status: affected, version: 3.7.0, versionType: semver
lessThan: 3.8.8, status: affected, version: 3.8.0, versionType: semver
lessThan: 3.9.3, status: affected, version: 3.9.0, versionType: semver
lessThan: 3.10.1, status: affected, version: 3.10.0, versionType: semver
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 4.5
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: HIGH
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL