CVE-2024-37904
Denial of service from maliciously configured Git repository in Minder
Also known as GHSA-hpcg-xjq5-g666, GO-2024-2934
Mitigation
- Upgrade github.com/stacklok/minder to 0.0.52 or later.
Who should check
- Projects that depend on Go package github.com/stacklok/minder (< 0.0.52)
- Anyone running stacklok minder < 0.0.52
Vulnerability facts
- Affected
- github.com/stacklok/minder < 0.0.52
- Fixed in
- 0.0.52
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 5.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.86% chance of exploitation in 30 days (percentile 56, 2026-11-26)
- CWE
- CWE-400
- Modified
Description
Minder is an open source Software Supply Chain Security Platform. Minder's Git provider is vulnerable to a denial of service from a maliciously configured GitHub repository. The Git provider clones users repositories using the `github.com/go-git/go-git/v5` library on lines `L55-L89`. The Git provider does the following on the lines `L56-L62`. First, it sets the `CloneOptions`, specifying the url, the depth etc. It then validates the options. It then sets up an in-memory filesystem, to which it clones and Finally, it clones the repository. The `(g *Git) Clone()` method is vulnerable to a DoS attack: A Minder user can instruct Minder to clone a large repository which will exhaust memory and crash the Minder server. The root cause of this vulnerability is a combination of the following conditions: 1. Users can control the Git URL which Minder clones, 2. Minder does not enforce a size limit to the repository, 3. Minder clones the entire repository into memory. This issue has been addressed in commit `7979b43` which has been included in release version v0.0.52. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/stacklok/minder | < 0.0.52 | 0.0.52 | osv |
| stacklok minder | < 0.0.52 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-37904. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-37904.md Affected: github.com/stacklok/minder < 0.0.52 Fixed in: 0.0.52 Steps: 1. Search this machine and project for github.com/stacklok/minder (Go), stacklok minder: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2024-37904 being exploited?
There is no confirmed exploitation: CVE-2024-37904 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.86% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-37904?
Medium: CVSS 5.7 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2024-37904?
github.com/stacklok/minder < 0.0.52.
Is there a fix for CVE-2024-37904?
Yes. Fixed in 0.0.52. Upgrade github.com/stacklok/minder to 0.0.52 or later.
How do I check if I'm affected by CVE-2024-37904?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.