CVE-2024-35185 Denial of service of Minder Server with attacker-controlled REST endpoint

Medium 5.3 Published Updated

An attacker can crash the Minder server by configuring a malicious REST endpoint that returns excessively large responses, causing memory exhaustion.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-35185?

CVE-2024-35185 is a medium-severity denial of service vulnerability in stacklok minder, published on 16 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Minder is a software supply chain security platform. Prior to version 0.0.49, the Minder REST ingester is vulnerable to a denial of service attack via an attacker-controlled REST endpoint that can crash the Minder server. The REST ingester allows users to interact with REST endpoints to fetch data for rule evaluation. When fetching data with the REST ingester, Minder sends a request to an endpoint and will use the data from the body of the response as the data to evaluate against a certain rule. If the response is sufficiently large, it can drain memory on the machine and crash the Minder server. The attacker can control the remote REST endpoints that Minder sends requests to, and they can configure the remote REST endpoints to return responses with large bodies. They would then instruct Minder to send a request to their configured endpoint that would return the large response which would crash the Minder server. Version 0.0.49 fixes this issue.

Weakness: CWE-770, CWE-400

Which versions are affected by CVE-2024-35185?

3 open source packages ship an affected version, including github.com/stacklok/minder.

PackageAffectedFixed in
github.com/stacklok/minder GoAll versions0.0.49
github.com/stacklok/minder GoAll versions0.0.49
github.com/stacklok/minder GoAll versions0.0.49

How do I fix CVE-2024-35185?

Upgrade github.com/stacklok/minder to 0.0.49 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-35185 being exploited?

There is no known exploitation of CVE-2024-35185 in the wild and no public exploit code.

Sources

Also known as GHSA-fjw8-3gp8-4cvx, GO-2024-2864.

Is CVE-2024-35185 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free