{"id":"EUVD-2024-2072","enisaUuid":"c5b6236a-021b-36e9-b2a6-7c20bc702e25","description":"Minder is an open source Software Supply Chain Security Platform. Minder\u0027s 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.","datePublished":"Jun 18, 2024, 5:07:02 PM","dateUpdated":"Aug 2, 2024, 4:04:23 AM","baseScore":5.7,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","references":"https://github.com/stacklok/minder/security/advisories/GHSA-hpcg-xjq5-g666\nhttps://github.com/stacklok/minder/commit/7979b43\nhttps://github.com/stacklok/minder/blob/85985445c8ac3e51f03372e99c7b2f08a6d274aa/internal/providers/git/git.go#L55-L89\nhttps://github.com/stacklok/minder/blob/85985445c8ac3e51f03372e99c7b2f08a6d274aa/internal/providers/git/git.go#L56-L62\n","aliases":"CVE-2024-37904\nGHSA-hpcg-xjq5-g666\n","assigner":"GitHub_M","epss":0.46,"enisaIdProduct":[{"id":"0950905c-cddd-3a13-9fda-7cba995f2476","product":{"name":"minder","vendor":{"name":"mindersec"}},"product_version":"\u003c 0.0.52"}],"enisaIdVendor":[{"id":"0a121e07-f97a-33c0-8862-11d965e3ba93","vendor":{"name":"stacklok"}}],"enisaIdVulnerability":[{"id":"31792231-d81c-379d-a192-7d9f24808693","vulnerability":{"id":"CVE-2024-37904","description":"Minder is an open source Software Supply Chain Security Platform. Minder\u0027s 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.","datePublished":"Jun 18, 2024, 5:07:02 PM","dateUpdated":"Aug 2, 2024, 4:04:23 AM","status":"PUBLISHED","baseScore":5.7,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","references":"https://github.com/stacklok/minder/security/advisories/GHSA-hpcg-xjq5-g666\nhttps://github.com/stacklok/minder/commit/7979b43\nhttps://github.com/stacklok/minder/blob/85985445c8ac3e51f03372e99c7b2f08a6d274aa/internal/providers/git/git.go#L55-L89\nhttps://github.com/stacklok/minder/blob/85985445c8ac3e51f03372e99c7b2f08a6d274aa/internal/providers/git/git.go#L56-L62\n","enisa_id":"EUVD-2024-2072\n","assigner":"GitHub_M","epss":0.46,"dataProcessed":"Nov 15, 2026, 1:38:09 AM","vulnerabilityProduct":[{"id":"20d9f829-b7bd-3469-9bb1-6f618ab32440","product":{"name":"minder","vendor":{"name":"mindersec"}},"product_version":"\u003c 0.0.52"}],"vulnerabilityVendor":[{"id":"245f4542-929b-327c-a302-1660fdf1f33d","vendor":{"name":"stacklok"}}]}},{"id":"d80a1076-e558-3280-8f80-5840ddd3f1d7","vulnerability":{"id":"GHSA-hpcg-xjq5-g666","description":"Minder affected by denial of service from maliciously configured Git repository","datePublished":"Jun 18, 2024, 4:34:24 PM","dateUpdated":"Jun 18, 2024, 7:27:35 PM","baseScore":null,"references":"https://github.com/stacklok/minder/security/advisories/GHSA-hpcg-xjq5-g666\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-37904\nhttps://github.com/stacklok/minder/commit/35bab8f9a6025eea9e6e3cef6bd80707ac03d2a9\nhttps://github.com/stacklok/minder/commit/7979b43\nhttps://github.com/stacklok/minder\nhttps://github.com/stacklok/minder/blob/85985445c8ac3e51f03372e99c7b2f08a6d274aa/internal/providers/git/git.go#L55-L89\nhttps://github.com/stacklok/minder/blob/85985445c8ac3e51f03372e99c7b2f08a6d274aa/internal/providers/git/git.go#L56-L62\n","enisa_id":"EUVD-2024-2072\n","aliases":"CVE-2024-37904\nGHSA-hpcg-xjq5-g666\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:37:19 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}