Open sylvesterhuerta opened 5 months ago
Would it be possible to upgrade your version of MLflow? We've been patching these vulnerabilities over the past few months, and they should all be outdated in the most recent version.
If you're using a databricks notebook, you can upgrade by running %pip install -U mlflow
in a notebook cell.
Hi Daniel, Thank you for your reply. In our team, we use Snyk as part of vulnerability assessment. According to Snyk, there is no upgrade or patch available for the following vulnerabilities. Is this assessment accurate? https://security.snyk.io/vuln/SNYK-PYTHON-MLFLOW-6615820 https://security.snyk.io/vuln/SNYK-PYTHON-MLFLOW-7210300 https://security.snyk.io/vuln/SNYK-PYTHON-MLFLOW-7210309 https://security.snyk.io/vuln/SNYK-PYTHON-MLFLOW-7210311 https://security.snyk.io/vuln/SNYK-PYTHON-MLFLOW-7210331 https://security.snyk.io/vuln/SNYK-PYTHON-MLFLOW-7210332 https://security.snyk.io/vuln/SNYK-PYTHON-MLFLOW-7210333 https://security.snyk.io/vuln/SNYK-PYTHON-MLFLOW-7210334 https://security.snyk.io/vuln/SNYK-PYTHON-MLFLOW-7210335 https://security.snyk.io/vuln/SNYK-PYTHON-MLFLOW-7210336
On Tuesday, July 2, 2024, 7:43 AM, Daniel Lok @.***> wrote:
Would it be possible to upgrade your version of MLflow? We've been patching these vulnerabilities over the past few months, and they should all be outdated in the most recent version.
If you're using a databricks notebook, you can upgrade by running %pip install -U mlflow in a notebook cell.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
All the CVEs related to deserialization of untrusted data come from our use of pickle
to store models, which is a common practice in other ML frameworks (e.g. PyTorch). MLflow is meant to be run in an authenticated environment, so you shouldn't have untrusted people uploading malicious files to your servers.
The path traversal vulnerability has been patched as far as i know. In fact, the path from the CVE (URL-encoded dots) is explicitly a test case in our test suite:
@mlflow/mlflow-team Please assign a maintainer and start triaging this issue.
Hi @daniellok-db, the path traversal vulnerability is still in the vulnerability databases marked as 'not fixed'. E.g.
Issues Policy acknowledgement
Where did you encounter this bug?
Databricks
Willingness to contribute
Yes. I would be willing to contribute a fix for this bug with guidance from the MLflow community.
MLflow version
Mlflow version 2.11.3
System information
Describe the problem
We are using mlflow as part of our project to keep track of our experiments and artifacts. However, there are some vulnerabilities present with the mlflow version we are using (2.11.3). Is there any upcoming plans or releases to address these vulnerabilities?
We would love to continue using mlflow within our project. If you are not the correct contact for this area, could you please advise who to reach out.
Tracking information
Code to reproduce issue
N/A
Stack trace
N/A
Other info / logs
N/A
What component(s) does this bug affect?
area/artifacts
: Artifact stores and artifact loggingarea/build
: Build and test infrastructure for MLflowarea/deployments
: MLflow Deployments client APIs, server, and third-party Deployments integrationsarea/docs
: MLflow documentation pagesarea/examples
: Example codearea/model-registry
: Model Registry service, APIs, and the fluent client calls for Model Registryarea/models
: MLmodel format, model serialization/deserialization, flavorsarea/recipes
: Recipes, Recipe APIs, Recipe configs, Recipe Templatesarea/projects
: MLproject format, project running backendsarea/scoring
: MLflow Model server, model deployment tools, Spark UDFsarea/server-infra
: MLflow Tracking server backendarea/tracking
: Tracking Service, tracking client APIs, autologgingWhat interface(s) does this bug affect?
area/uiux
: Front-end, user experience, plotting, JavaScript, JavaScript dev serverarea/docker
: Docker use across MLflow's components, such as MLflow Projects and MLflow Modelsarea/sqlalchemy
: Use of SQLAlchemy in the Tracking Service or Model Registryarea/windows
: Windows supportWhat language(s) does this bug affect?
language/r
: R APIs and clientslanguage/java
: Java APIs and clientslanguage/new
: Proposals for new client languagesWhat integration(s) does this bug affect?
integrations/azure
: Azure and Azure ML integrationsintegrations/sagemaker
: SageMaker integrationsintegrations/databricks
: Databricks integrations