Arbitrary Code Injection Affecting mlflow package, versions [,2.15.0)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-MLFLOW-7577152
- published 1 Aug 2024
- disclosed 1 Aug 2024
- credit Yuki Watanabe
How to fix?
Upgrade mlflow
to version 2.15.0 or higher.
Overview
mlflow is a platform to streamline machine learning development, including tracking experiments, packaging code into reproducible runs, and sharing and deploying models.
Affected versions of this package are vulnerable to Arbitrary Code Injection due to the autologin method that allows injection of the MLflow callback into the user's callback list. This can lead to failures of predict_stream
, ainvoke
, astream
, and abatch
calls when configurations are specified.