CVE-2023-23766: Incorrect comparison vulnerability in GitHub Enterprise Server leading to commit smuggling
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.
Affected Software
Event History
Frequently Asked Questions
What is the vulnerability ID of this issue?
The vulnerability ID is CVE-2023-23766.
What is the severity of CVE-2023-23766?
The severity of CVE-2023-23766 is medium (6.5).
What versions of GitHub Enterprise Server are affected by this vulnerability?
This vulnerability affects GitHub Enterprise Server versions 3.6.0 up to (excluding) 3.6.17, versions 3.7.0 up to (excluding) 3.7.15, versions 3.8.0 up to (excluding) 3.8.8, versions 3.9.0 up to (excluding) 3.9.3, and version 3.10.0.
How can an attacker exploit this vulnerability?
To exploit this vulnerability, the attacker would need write access to the repository and would be able to perform commit smuggling by displaying an incorrect diff in a re-opened Pull Request.
Where can I find more information about this vulnerability?
You can find more information about this vulnerability in the GitHub Enterprise Server release notes: [3.10.1](https://docs.github.com/enterprise-server@3.10/admin/release-notes#3-10-1), [3.6.17](https://docs.github.com/enterprise-server@3.6/admin/release-notes#3-6-17), and [3.7.15](https://docs.github.com/enterprise-server@3.7/admin/release-notes#3-7-15).