MLflow Uncontrolled Resource Consumption vulnerability
The /graphql endpoint in MLflow 2.17.2 allows an attacker to send large batches of queries that repeatedly request all runs from an experiment, exhausting worker resources. This can render the application unable to respond to other requests.
mlflow
Originally disclosed on huntr
In mlflow/mlflow version 2.17.2, the /graphql endpoint is vulnerable to a denial of service attack. An attacker can create large batches of queries that repeatedly request all runs from a given experiment. This can tie up all the workers allocated by MLFlow, rendering the application unable to respond to other requests. This vulnerability is due to uncontrolled resource consumption.
From the GitHub Advisory Database (GHSA-49m6-vrr9-2cqm, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the GraphQL endpoint lacks limits on query batching or query complexity, allowing a single request to trigger excessive repeated data retrieval.
Impact
An attacker could tie up all MLflow workers, making the application unable to respond to other requests.
What the attacker needed
Access to the /graphql endpoint
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A denial-of-service attack makes a service unavailable by overwhelming it with work. Here, the GraphQL endpoint lets someone ask for the same large set of data over and over in one request, which keeps the server's workers busy so normal users cannot get answers.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.