CVE-2024-1558: Path Traversal Vulnerability in mlflow/mlflow

Published Apr 16, 2024
·
Updated

A path traversal vulnerability exists in the createmodelversion() function within server/handlers.py of the mlflow/mlflow repository, due to improper validation of the source parameter. Attackers can exploit this vulnerability by crafting a source parameter that bypasses the validatenonlocalsourcecontainsrelativepaths(source) function's checks, allowing for arbitrary file read access on the server. The issue arises from the handling of unquoted URL characters and the subsequent misuse of the original source value for model version creation, leading to the exposure of sensitive files when interacting with the /model-versions/get-artifact handler.

Affected Software

2 affected componentsFixes available
pip/mlflow<=2.9.2
2.12.1
Lfprojects Mlflow<2.12.1

Event History

Apr 16, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 AM
Affected Software
Advisory Published
via GitHub·12:30 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-1558?

CVE-2024-1558 is classified as a medium severity vulnerability.

2

How do I fix CVE-2024-1558?

To fix CVE-2024-1558, upgrade the mlflow package to version 2.12.1 or later.

3

What type of vulnerability is CVE-2024-1558?

CVE-2024-1558 is a path traversal vulnerability.

4

Which versions of mlflow are affected by CVE-2024-1558?

CVE-2024-1558 affects mlflow versions up to and including 2.9.2.

5

What causes the CVE-2024-1558 vulnerability?

The CVE-2024-1558 vulnerability is caused by improper validation of the 'source' parameter in the _create_model_version() function.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203