logo

CVE-2024-1558 mlflow

Package

Manager: pip
Name: mlflow
Vulnerable Version: >=0 <2.12.1

Severity

Level: High

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00118 pctl0.31377

Details

mlflow vulnerable to Path Traversal 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.

Metadata

Created: 2024-04-16T00:30:33Z
Modified: 2024-08-09T18:07:47Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-j62r-wxqq-f3gf/GHSA-j62r-wxqq-f3gf.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-j62r-wxqq-f3gf
Finding: F063
Auto approve: 1