Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/stacklok/minder
  4. ›
  5. CVE-2024-35194

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

May 20, 2024

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.

One of these places is the REST ingester:

References

  • github.com/advisories/GHSA-crgc-2583-rw27
  • github.com/stacklok/minder
  • github.com/stacklok/minder/commit/fe321d345b4f738de6a06b13207addc72b59f892
  • github.com/stacklok/minder/security/advisories/GHSA-crgc-2583-rw27
  • nvd.nist.gov/vuln/detail/CVE-2024-35194

Code Behaviors & Features

Detect and mitigate CVE-2024-35194 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.50

Fixed versions

  • 0.0.50

Solution

Upgrade to version 0.0.50 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/stacklok/minder/CVE-2024-35194.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:06 +0000.