Stacklok Minder vulnerable to denial of service from maliciously crafted templates
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2024-35194
PublishedMinder is a software supply chain security platform. Prior to version 0.0.50, Minder engine is susceptible to a denial of service from memory exhaustion that can be triggered from maliciously created templates. Minder engine uses templating to generate strings for various use cases such as URLs, messages for pull requests, descriptions for advisories. In some cases can the user control both the template and the params for it, and in a subset of these cases, Minder reads the generated template entirely into memory. When Minders templating meets both of these conditions, an attacker is able to generate large enough templates that Minder will exhaust memory and crash. This vulnerability is fixed in 0.0.50.
- Source published
- 20 May 2024 20:44:10 UTC
- Source modified
- 2 Aug 2024 03:07:46 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
euvd · EUVD-2024-1580
PublishedMinder is a software supply chain security platform. Prior to version 0.0.50, Minder engine is susceptible to a denial of service from memory exhaustion that can be triggered from maliciously created templates. Minder engine uses templating to generate strings for various use cases such as URLs, messages for pull requests, descriptions for advisories. In some cases can the user control both the template and the params for it, and in a subset of these cases, Minder reads the generated template entirely into memory. When Minders templating meets both of these conditions, an attacker is able to generate large enough templates that Minder will exhaust memory and crash. This vulnerability is fixed in 0.0.50.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: May 20, 2024, 8:44:10 PM
dateUpdated: Aug 2, 2024, 3:07:46 AM
- Source published
- May 20, 2024, 8:44:10 PM (timezone not stated)
- Source modified
- Aug 2, 2024, 3:07:46 AM (timezone not stated)
- Saved here
- 15 Nov 2026 01:54:30 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd · CVE-2024-35194
PublishedMinder is a software supply chain security platform. Prior to version 0.0.50, Minder engine is susceptible to a denial of service from memory exhaustion that can be triggered from maliciously created templates. Minder engine uses templating to generate strings for various use cases such as URLs, messages for pull requests, descriptions for advisories. In some cases can the user control both the template and the params for it, and in a subset of these cases, Minder reads the generated template entirely into memory. When Minders templating meets both of these conditions, an attacker is able to generate large enough templates that Minder will exhaust memory and crash. This vulnerability is fixed in 0.0.50.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-400
Original publisher date fields
published: 2024-05-20T21:15:09.773
lastModified: 2026-06-17T07:34:31.123
- Source published
- 20 May 2024 21:15:09 UTC
- Source modified
- 17 Jun 2026 07:34:31 UTC
- Saved here
- 25 Oct 2026 00:17:10 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv · GHSA-crgc-2583-rw27
PublishedMinder engine is susceptible to a denial of service from memory exhaustion that can be triggered from maliciously created templates. Minder engine uses templating to generate strings for various use cases such as URLs, messages for pull requests, descriptions for advisories. In some cases can the user control both the template and the params for it, and in a subset of these cases, Minder reads the generated template entirely into memory. When Minders templating meets both of these conditions, an attacker is able to generate large enough templates that Minder will exhaust memory and crash. One of these places is the REST ingester: https://github.com/stacklok/minder/blob/daccbc12e364e2d407d56b87a13f7bb24cbdb074/internal/engine/ingester/rest/rest.go#L115-L123 With control over both endpoint and `retp` on the following line: https://github.com/stacklok/minder/blob/daccbc12e364e2d407d56b87a13f7bb24cbdb074/internal/engine/ingester/rest/rest.go#L121 … an attacker can make Minder generate a large template that Minder reads into memory on the following line by invoking `endpoint.String()`: https://github.com/stacklok/minder/blob/daccbc12e364e2d407d56b87a13f7bb24cbdb074/internal/engine/ingester/rest/rest.go#L131 Consider this example: ```go package main import ( "fmt" "html/template" "os" ) type EndpointTemplateParams struct { // Params are the parameters to be used in the template Params map[string]any } func main() { retp := &EndpointTemplateParams{ Params: map[string]any{ "params": make([]string, 10), }, } fmt.Println(retp) const templ = ` {{range $idx, $e := .Params.params}} loooooooooooooooooooooooooooooooong-string-{{$idx}} {{end}} {{range $idx, $e := .Params.params}} loooooooooooooooooooooooooooooooong-string-{{$idx}} {{end}} {{range $idx, $e := .Params.params}} loooooooooooooooooooooooooooooooong-string-{{$idx}} {{end}}` tmpl := template.Must(template.New("").Parse(templ)) if err := tmpl.Execute(os.Stdout, retp); err != nil { panic(err) } } ``` This example imitates the behavior on these lines: https://github.com/stacklok/minder/blob/daccbc12e364e2d407d56b87a13f7bb24cbdb074/internal/engine/ingester/rest/rest.go#L115-L123 Running this example generates the following template: ``` loooooooooooooooooooooooooooooooong-string-0 loooooooooooooooooooooooooooooooong-string-1 loooooooooooooooooooooooooooooooong-string-2 loooooooooooooooooooooooooooooooong-string-3 loooooooooooooooooooooooooooooooong-string-4 loooooooooooooooooooooooooooooooong-string-5 loooooooooooooooooooooooooooooooong-string-6 loooooooooooooooooooooooooooooooong-string-7 loooooooooooooooooooooooooooooooong-string-8 loooooooooooooooooooooooooooooooong-string-9 loooooooooooooooooooooooooooooooong-string-0 loooooooooooooooooooooooooooooooong-string-1 loooooooooooooooooooooooooooooooong-string-2 loooooooooooooooooooooooooooooooong-string-3 loooooooooooooooooooooooooooooooong-string-4 loooooooooooooooooooooooooooooooong-string-5 loooooooooooooooooooooooooooooooong-string-6 loooooooooooooooooooooooooooooooong-string-7 loooooooooooooooooooooooooooooooong-string-8 loooooooooooooooooooooooooooooooong-string-9 loooooooooooooooooooooooooooooooong-string-0 loooooooooooooooooooooooooooooooong-string-1 loooooooooooooooooooooooooooooooong-string-2 loooooooooooooooooooooooooooooooong-string-3 loooooooooooooooooooooooooooooooong-string-4 loooooooooooooooooooooooooooooooong-string-5 loooooooooooooooooooooooooooooooong-string-6 loooooooooooooooooooooooooooooooong-string-7 loooooooooooooooooooooooooooooooong-string-8 loooooooooooooooooooooooooooooooong-string-9 ``` A malicious user can call the loop more times, increase the loop count and/or make the repeated long string longer to make the size of the template bigger. A sufficiently large template will consume a lot of memory on this line which will exhaust memory on the machine and crash the Minder server: https://github.com/stacklok/minder/blob/daccbc12e364e2d407d56b87a13f7bb24cbdb074/internal/engine/ingester/rest/rest.go#L121 Minder should enforce a limit to generated templates before reading them into memory. The following templates are believed to be vulnerable: https://github.com/stacklok/minder/blob/daccbc12e364e2d407d56b87a13f7bb24cbdb074/internal/engine/ingester/rest/rest.go#L121 https://github.com/stacklok/minder/blob/e7f9914de9af5a69e3e6fe2bdfaaf22e62be42c0/internal/engine/actions/remediate/pull_request/pull_request.go#L199 https://github.com/stacklok/minder/blob/e7f9914de9af5a69e3e6fe2bdfaaf22e62be42c0/internal/engine/actions/remediate/pull_request/pull_request.go#L510 Minder has a few other templates especially in its engine which needs reviewing too. As a default, all templates should be limited in size before Minder reads them into memory.
- Source published
- 20 May 2024 20:43:54 UTC
- Source modified
- 10 Sep 2026 03:50:13 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher rating · MODERATE
osv · GO-2024-2871
PublishedStacklok Minder vulnerable to denial of service from maliciously crafted templates in github.com/stacklok/minder
- Source published
- 5 Jun 2024 15:10:42 UTC
- Source modified
- 3 Mar 2026 04:55:23 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.