CVE-2023-23762
JSON

6.5medium

Incorrect comparison vulnerability in GitHub Enterprise Server leading to commit smuggling

Severity
6.5medium CVSS:3.1 by GitHub_P
Exploit likelihood
0.64% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_P

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

Product or packageVersionsReported by
GitHub Enterprise Serverfrom 3.4.0 up to 3.4.17, from 3.5.0 up to 3.5.14, from 3.6.0 up to 3.6.10, from 3.7.0 up to 3.7.7, from 3.8.0 before 3.8.1
Not affected: 3.9.0
CVE List
github enterprise_serverbefore 3.4.18, from 3.5.0 before 3.5.15, from 3.6.0 before 3.6.11, from 3.7.0 before 3.7.8, 3.8.0NVD

All scores

GitHub_P6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-697

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-23762 changed 2025-02-10CVE Terms of Use
NVDCVE-2023-23762 changed 2026-06-17Public domain