Vulnerability · Published Apr 7, 2023 · Assigned by GitHub_P
CVE-2023-23762Incorrect comparison vulnerability in GitHub Enterprise Server leading to commit smuggling
Medium 6.5
In plain English
A medium-severity security flaw in Enterprise Server from GitHub. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| GitHub | Enterprise Server | 3.4.0 – through 3.4.173.5.0 – through 3.5.143.6.0 – through 3.6.103.7.0 – through 3.7.73.8.0 – before 3.8.1 |
Weakness: CWE-697 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
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