CVE-2023-2780: mlflow Path Traversal vulnerability
9.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.99344%
CWE
Published
5/17/2023
Updated
9/24/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| mlflow | pip | < 2.3.0 | 2.3.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The core vulnerability stems from two key functions: 1) _validate_source in handlers.py lacked proper file URI validation and path containment checks, as shown by the patch adding MLFLOW_ALLOW_FILE_URI_AS_MODEL_VERSION_SOURCE checks. 2) is_local_uri in uri.py had incomplete hostname validation that allowed bypasses via 127.0.0.1/localhost URIs, as evidenced by the patch adding explicit hostname checks. The commit diff shows these functions were modified to add security controls, and the CVE description explicitly references path traversal via file URIs bypassing previous fixes.