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

CVE-2024-35238: Denial of service of Minder Server from maliciously crafted GitHub attestations

May 28, 2024

Minder 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):

References

  • github.com/advisories/GHSA-8fmj-33gw-g7pw
  • github.com/stacklok/minder
  • github.com/stacklok/minder/blob/daccbc12e364e2d407d56b87a13f7bb24cbdb074/internal/verifier/sigstore/container/container.go
  • github.com/stacklok/minder/commit/fe321d345b4f738de6a06b13207addc72b59f892
  • github.com/stacklok/minder/security/advisories/GHSA-8fmj-33gw-g7pw
  • nvd.nist.gov/vuln/detail/CVE-2024-35238

Code Behaviors & Features

Detect and mitigate CVE-2024-35238 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.51

Fixed versions

  • 0.0.51

Solution

Upgrade to version 0.0.51 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-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/stacklok/minder/CVE-2024-35238.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:20 +0000.