CWE
29 22
Advisory Published
Advisory Published
Updated

CVE-2023-1177: Path Traversal: '\..\filename' in mlflow/mlflow

First published: Fri Mar 24 2023(Updated: )

### Impact Users of the MLflow Open Source Project who are hosting the MLflow Model Registry using the `mlflow server` or `mlflow ui` commands using an MLflow version older than MLflow 2.2.1 may be vulnerable to a remote file access exploit if they are not limiting who can query their server (for example, by using a cloud VPC, an IP allowlist for inbound requests, or authentication / authorization middleware). This issue only affects users and integrations that run the `mlflow server` and `mlflow ui` commands. Integrations that do not make use of `mlflow server` or `mlflow ui` are unaffected; for example, the Databricks Managed MLflow product and MLflow on Azure Machine Learning do not make use of these commands and are not impacted by these vulnerabilities in any way. The vulnerability detailed in https://nvd.nist.gov/vuln/detail/CVE-2023-1177 enables an actor to download arbitrary files unrelated to MLflow from the host server, including any files stored in remote locations to which the host server has access. ### Patches This vulnerability has been patched in MLflow 2.2.1, which was released to PyPI on March 2nd, 2023. If you are using `mlflow server` or `mlflow ui` with the MLflow Model Registry, we recommend upgrading to MLflow 2.2.1 as soon as possible. ### Workarounds If you are using the MLflow open source `mlflow server` or `mlflow ui` commands, we strongly recommend limiting who can access your MLflow Model Registry and MLflow Tracking servers using a cloud VPC, an IP allowlist for inbound requests, authentication / authorization middleware, or another access restriction mechanism of your choosing. If you are using the MLflow open source `mlflow server` or `mlflow ui` commands, we also strongly recommend limiting the remote files to which your MLflow Model Registry and MLflow Tracking servers have access. For example, if your MLflow Model Registry or MLflow Tracking server uses cloud-hosted blob storage for MLflow artifacts, make sure to restrict the scope of your server's cloud credentials such that it can only access files and directories related to MLflow. ### References More information about the vulnerability is available at https://nvd.nist.gov/vuln/detail/CVE-2023-1177.

Credit: security@huntr.dev security@huntr.dev security@huntr.dev

Affected SoftwareAffected VersionHow to fix
Lfprojects Mlflow<2.2.1
pip/mlflow<=2.2.0
2.2.1
<2.2.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this MLflow vulnerability?

    The vulnerability ID for this MLflow vulnerability is CVE-2023-1177.

  • What is the severity of CVE-2023-1177?

    The severity of CVE-2023-1177 is critical with a severity value of 9.8.

  • How does CVE-2023-1177 impact MLflow users?

    CVE-2023-1177 may make MLflow users vulnerable to a remote file access exploit if they are hosting the MLflow Model Registry using an MLflow version older than 2.2.1 and not limiting who can query their server.

  • How can MLflow users fix the vulnerability CVE-2023-1177?

    To fix the vulnerability CVE-2023-1177, MLflow users should update their MLflow version to 2.2.1 or newer.

  • What is the Common Weakness Enumeration (CWE) ID for CVE-2023-1177?

    The Common Weakness Enumeration (CWE) ID for CVE-2023-1177 is CWE-22 and CWE-29.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203