{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-23762","id":"CVE-2023-23762","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. 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 ","descriptionLong":"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.","published":"2023-04-07T18:41:52.689Z","updated":"2026-06-17T05:37:52.517Z","reserved":"2023-01-17T20:40:37.553Z","status":"Modified","rejected":false,"assigner":"GitHub_P","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N","rating":"medium","source":"GitHub_P"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N","rating":"medium","source":"GitHub_P"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["GitHub Enterprise Server"],"affectedProducts":[{"vendor":"GitHub","product":"Enterprise Server","defaultStatus":"affected","versions":[{"changes":[{"at":"3.4.18","status":"unaffected"}],"lessThanOrEqual":"3.4.17","status":"affected","version":"3.4.0","versionType":"semver"},{"changes":[{"at":"3.5.15","status":"unaffected"}],"lessThanOrEqual":"3.5.14","status":"affected","version":"3.5.0","versionType":"semver"},{"changes":[{"at":"3.6.11","status":"unaffected"}],"lessThanOrEqual":"3.6.10","status":"affected","version":"3.6.0","versionType":"semver"},{"changes":[{"at":"3.7.8","status":"unaffected"}],"lessThanOrEqual":"3.7.7","status":"affected","version":"3.7.0","versionType":"semver"},{"changes":[{"at":"3.8.1","status":"unaffected"}],"lessThan":"3.8.1","status":"affected","version":"3.8.0","versionType":"semver"},{"status":"unaffected","version":"3.9.0"}],"platforms":[]}],"packages":[],"cwes":["CWE-697"],"aliases":[],"references":[{"url":"https://docs.github.com/en/enterprise-server@3.8/admin/release-notes#3.8.1","tags":["x_transferred","Release Notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.8","tags":["x_transferred","Release Notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.11","tags":["x_transferred","Release Notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.15","tags":["x_transferred","Release Notes"]},{"url":"https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.18","tags":["x_transferred","Release Notes"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0064,"epssPercentile":0.51464,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-23762","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23762","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-23762","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-23762","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}