{"schemaVersion":3,"id":"CVE-2024-37904","aliases":["GHSA-hpcg-xjq5-g666","GO-2024-2934"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-06-18T17:07:02.812Z","modified":"2024-08-02T04:04:23.360Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.7,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.7,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":5.7,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","exploitability":5.4,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.7,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0046,"percentile":0.38554,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0046},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0046,"percentile":0.38554}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0046,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0046,"percentile":0.38554}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"}],"affected":[{"vendor":"github.com/stacklok","product":"minder","name":"github.com/stacklok/minder","label":"minder","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/stacklok/minder","purlType":"golang","versions":[{"text":"< 0.0.52","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.52","eol":null,"hubHref":null},{"vendor":"stacklok","product":"minder","name":"minder","label":"minder","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.0.52","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.52","eol":null,"hubHref":"/vendor/stacklok/minder"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/stacklok/minder/security/advisories/GHSA-hpcg-xjq5-g666","label":"github.com/stacklok/minder/security/advisories/GHSA-hpcg-xjq5-g666","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/stacklok/minder/commit/7979b43","label":"github.com/stacklok/minder/commit/7979b43","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/stacklok/minder/blob/85985445c8ac3e51f03372e99c7b2f08a6d274aa/internal/providers/git/git.go#L55-L89","label":"github.com/stacklok/…","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/stacklok/minder/blob/85985445c8ac3e51f03372e99c7b2f08a6d274aa/internal/providers/git/git.go#L56-L62","label":"github.com/stacklok/…","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37904","label":"nvd.nist.gov/vuln/detail/CVE-2024-37904","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/stacklok/minder/commit/35bab8f9a6025eea9e6e3cef6bd80707ac03d2a9","label":"github.com/stacklok/minder/commit/35bab8f9a6025eea9e6e3cef6bd80707ac03d2a9","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/stacklok/minder","label":"github.com/stacklok/minder","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-06-18T17:07:02.812Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T04:04:23.360Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":23,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T12:12:31.919Z","stale":false,"partial":false}}