CVE-2024-2440 Race Condition was identified in GitHub Enterprise Server that allowed maintaining admin permissions
An existing admin can maintain permissions on a detached repository via a race condition in GraphQL mutations, requiring an upgrade to fix.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-2440?
CVE-2024-2440 is a medium-severity vulnerability in Github Enterprise Server, published on 19 Apr 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A race condition in GitHub Enterprise Server allowed an existing admin to maintain permissions on a detached repository by making a GraphQL mutation to alter repository permissions while the repository is detached. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.13 and was fixed in versions 3.9.13, 3.10.10, 3.11.8 and 3.12.1. This vulnerability was reported via the GitHub Bug Bounty program.
Weakness: CWE-367
Which versions are affected by CVE-2024-2440?
It affects 1 product.
Products include Github Enterprise Server.
How do I fix CVE-2024-2440?
No fix has been published for CVE-2024-2440 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-2440 being exploited?
There is no known exploitation of CVE-2024-2440 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-r76q-x459-hm6w.