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 within the GitHub pull request UI. To do so, an attacker would need write access to the repository. This vulnerability affected GitHub Enterprise Server versions 3.7.0 and above and was fixed in versions 3.7.9, 3.8.2, and 3.9.1. This vulnerability was reported via the GitHub Bug Bounty program.
problem types: CWE-697
affected:
{
defaultStatus: unaffected
product: Enterprise Server
vendor: GitHub
versions:
lessThan: 3.7.9, status: affected, version: 3.7.0, versionType: 3.7.9
lessThan: 3.8.2, status: affected, version: 3.8.0, versionType: 3.8.2
lessThan: 3.9.1, status: affected, version: 3.9.0, versionType: 3.9.1
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 4.8
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: HIGH
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL