CVE-2024-5815
What it is
A Cross-Site Request Forgery vulnerability in GitHub Enterprise Server allowed write operations on a victim-owned repository by exploiting incorrect request types. A mitigating factor is that the attacker would have to be a trusted GitHub Enterprise Server user, and the victim would have to visit a tag in the attacker's fork of their own repository. vulnerability affected all versions of GitHub Enterprise Server prior 3.14 and was fixed in version 3.13.1, 3.12.6, 3.11.12, 3.10.14, and 3.9.17. This vulnerability was reported via the GitHub Bug Bounty program.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account, but needs a user to act. High risk of data tampering.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-352 · Cross-site request forgery
- Record status
- Modified
Affected
- GitHub Enterprise Server < 3.9.17
- GitHub Enterprise Server < 3.10.14
- GitHub Enterprise Server < 3.11.12
- GitHub Enterprise Server < 3.12.6
- GitHub Enterprise Server 3.13.0
Attack profile CVSS 4.0 · 6.8
- Attack vector
- Network
- Complexity
- Low
- Attack requirements
- Present
- Privileges needed
- High
- User interaction
- Active
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:U/V:X/RE:L/U:Amber
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-5815.md and follow it. Check whether this project is affected by CVE-2024-5815. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- https://docs.github.com/en/[email protected]/admin/release-notes#3.9.17
- https://docs.github.com/en/[email protected]/admin/release-notes#3.10.14
- https://docs.github.com/en/[email protected]/admin/release-notes#3.11.12
- https://docs.github.com/en/[email protected]/admin/release-notes#3.12.6
- https://docs.github.com/en/[email protected]/admin/release-notes#3.13.1
- https://docs.github.com/en/[email protected]/admin/release-notes#3.9.17
- https://docs.github.com/en/[email protected]/admin/release-notes#3.10.14
- https://docs.github.com/en/[email protected]/admin/release-notes#3.11.12
- https://docs.github.com/en/[email protected]/admin/release-notes#3.12.6
- https://docs.github.com/en/[email protected]/admin/release-notes#3.13.1