Descrizione
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.
Tipo di vulnerabilità
CWE-410
Insufficient Resource Pool
The product's resource pool is not large enough to handle peak demand.
Impatto sui sistemi
| Ambito | Impatto |
| Disponibilità, Integrità, Altro |
Interruzione del servizio: arresto o riavvio, Altro |
Come si previene
Architettura e progettazione
Do not perform resource-intensive transactions for unauthenticated users and/or invalid requests.
Architettura e progettazione
Consider implementing a velocity check mechanism which would detect abusive behavior.
Esercizio
Consider load balancing as an option to handle heavy loads.
Sviluppo
Make sure that resource handles are properly closed when no longer needed.
Architettura e progettazione
Identify the system's resource intensive operations and consider protecting them from abuse (e.g. malicious automated script which runs the resources out).
Tutte le 18 CVE di tipo CWE-410, con andamento e prevenzione