Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2024-1558
April 16, 2024
A path traversal vulnerability exists in the "_create_model_version()" 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 "_validate_non_local_source_contains_relative_paths(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 Packages
mlflow (PYTHON):
Affected version(s)
Fix Suggestion:
Update to version 2.12.1
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.12