CVE-2024-35238
Last modified
CVE-2024-35238 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
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. The 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: 1. The attacker adds a package to ghcr.io with attestations that can be fetched via the `orgs/$owner/attestations/$checksumref` GitHub endpoint. 2. The attacker registers on Minder and makes Minder fetch the attestations. 3. Minder fetches attestations and crashes thereby being denied of service.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-35238?
How severe is CVE-2024-35238?
How do I fix CVE-2024-35238?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-35231rack-contrib provides contributed rack middleware and utilit…8.6
- CVE-2024-35232github.com/huandu/facebook is a Go package that fully suppor…3.7
- CVE-2024-35234Discourse is an open-source discussion platform. Prior to ve…6.1
- CVE-2024-35235OpenPrinting CUPS is an open source printing system for Linu…6.7
- CVE-2024-35236Audiobookshelf is a self-hosted audiobook and podcast server…4.8
- CVE-2024-35237MIT IdentiBot is an open-source Discord bot written in Node.…7.5
- CVE-2024-35239Umbraco Commerce is an open source dotnet web forms solution…5.4
- CVE-2024-3524A vulnerability, which was classified as problematic, has be…5.4
- CVE-2024-35240Umbraco Commerce is an open source dotnet ecommerce solution…5.4
- CVE-2024-35241Composer is a dependency manager for PHP. On the 2.x branch …8.8
- CVE-2024-35242Composer is a dependency manager for PHP. On the 2.x branch …8.8
- CVE-2024-35244There are several hidden accounts. Some of them are intended…9.1
Are you affected by CVE-2024-35238?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
