CVE-2023-23766 Incorrect comparison vulnerability in GitHub Enterprise Server leading to commit smuggling
Attackers with write access can smuggle commits by exploiting incorrect comparison logic, causing misleading diffs in reopened pull requests.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-23766?
CVE-2023-23766 is a medium-severity vulnerability in Github Enterprise Server, published on 22 Sep 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official 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 do so, an attacker would need write access to the repository. This vulnerability affected all versions of GitHub Enterprise Server and was fixed in versions 3.6.17, 3.7.15, 3.8.8, 3.9.3, and 3.10.1. This vulnerability was reported via the GitHub Bug Bounty program.
Weakness: CWE-697
Which versions are affected by CVE-2023-23766?
It affects 1 product.
Products include Github Enterprise Server.
How do I fix CVE-2023-23766?
No fix has been published for CVE-2023-23766 yet. Limit exposure of the affected software until one is available.
Is CVE-2023-23766 being exploited?
There is no known exploitation of CVE-2023-23766 in the wild and no public exploit code.
Other vulnerabilities in Github Enterprise Server
- CVE-2024-4985 Auth bypass in Enterprise Server
- CVE-2022-23739 Missing authorization in GitHub Enterprise Server
- CVE-2022-46255 Improper Limitation of a Pathname to a Restricted Directory in GitHub Enterprise Server leading to RCE
- CVE-2021-22869 Improper access control in GitHub Enterprise Server allows self-hosted runners to execute outside their control group
- CVE-2024-9487 Auth bypass in Enterprise Server
Sources
Also known as GHSA-42m4-q6r2-jh92.