{"cve":"CVE-2024-35238","nvd":{"published":"2024-05-27T18:15:09.920","modified":"2026-06-17T07:34:36.137","status":"Deferred","description":"Minder by Stacklok is an open source software supply chain security platform. Minder prior to version 0.0.51 is vulnerable to a denial-of-service (DoS) attack which could allow an attacker to crash the Minder server and deny other users access to it. The root cause of the vulnerability is that Minders sigstore verifier reads an untrusted response entirely into memory without enforcing a limit on the response body. An attacker can exploit this by making Minder make a request to an attacker-controlled endpoint which returns a response with a large body which will crash the Minder server. Specifically, the point of failure is where Minder parses the response from the GitHub attestations endpoint in `getAttestationReply`. Here, Minder makes a request to the `orgs/$owner/attestations/$checksumref` GitHub endpoint (line 285) and then parses the response into the `AttestationReply` (line 295). The way Minder parses the response on line 295 makes it prone to DoS if the response is large enough. Essentially, the response needs to be larger than the machine has available memory.  Version 0.0.51 contains a patch for this issue.\n\nThe content that is hosted at the `orgs/$owner/attestations/$checksumref` GitHub attestation endpoint is controlled by users including unauthenticated users to Minders threat model. However, a user will need to configure their own Minder settings to cause Minder to make Minder send a request to fetch the attestations. The user would need to know of a package whose attestations were configured in such a way that they would return a large response when fetching them. As such, the steps needed to carry out this attack would look as such:\n\n1. The attacker adds a package to ghcr.io with attestations that can be fetched via the `orgs/$owner/attestations/$checksumref` GitHub endpoint.\n2. The attacker registers on Minder and makes Minder fetch the attestations.\n3. Minder fetches attestations and crashes thereby being denied of service.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.3},"cwes":["CWE-770"],"references":["https://github.com/stacklok/minder/blob/daccbc12e364e2d407d56b87a13f7bb24cbdb074/internal/verifier/sigstore/container/container.go#L271-L300","https://github.com/stacklok/minder/commit/fe321d345b4f738de6a06b13207addc72b59f892","https://github.com/stacklok/minder/security/advisories/GHSA-8fmj-33gw-g7pw","https://github.com/stacklok/minder/blob/daccbc12e364e2d407d56b87a13f7bb24cbdb074/internal/verifier/sigstore/container/container.go#L271-L300","https://github.com/stacklok/minder/commit/fe321d345b4f738de6a06b13207addc72b59f892"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:50:30.954589733+00:00"},"epss":{"cve":"CVE-2024-35238","score":0.0053,"percentile":0.4483,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8fmj-33gw-g7pw","url":"https://osv.dev/vulnerability/GHSA-8fmj-33gw-g7pw","summary":"Denial of service of Minder Server from maliciously crafted GitHub attestations","modified":"2026-09-10T03:50:13.683301332Z","packages":[{"ecosystem":"Go","name":"github.com/stacklok/minder","purl":"pkg:golang/github.com/stacklok/minder","ranges":["<0.0.51"],"fixed":["0.0.51"]}]},{"id":"GO-2024-2885","url":"https://osv.dev/vulnerability/GO-2024-2885","summary":"Denial of service of Minder Server from maliciously crafted GitHub attestations in github.com/stacklok/minder","modified":"2026-03-03T04:55:24.793835Z","packages":[{"ecosystem":"Go","name":"github.com/stacklok/minder","purl":"pkg:golang/github.com/stacklok/minder","ranges":["<0.0.51"],"fixed":["0.0.51"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}