CVE-2023-23762

Incorrect comparison vulnerability in GitHub Enterprise Server leading to commit smuggling

State
Published
Severity
6.5 Medium
Published
Apr 7, 2023
Updated
Feb 10, 2025
Reserved
Jan 17, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:NGitHub_P

Weaknesses

Affected Products

ProductVersions
Enterprise ServerGitHub
  • 3.4.0 through 3.4.17Affectedfrom 3.4.18Not affected
  • 3.5.0 through 3.5.14Affectedfrom 3.5.15Not affected
  • 3.6.0 through 3.6.10Affectedfrom 3.6.11Not affected
  • 3.7.0 through 3.7.7Affectedfrom 3.7.8Not affected
  • 3.8.0 to before 3.8.1Affectedfrom 3.8.1Not affected
  • 3.9.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.