CVE-2023-23762Incorrect 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. 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by GitHub_P, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GitHub Enterprise Server: affected: 3.4.0 to 3.4.17, 3.5.0 to 3.5.14, 3.6.0 to 3.6.10, 3.7.0 to 3.7.7, 3.8.0 to before 3.8.1, 3.9.0 not affected; fixed in
3.4.18,3.5.15,3.6.11,3.7.8,3.8.1
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.