Lucene search

K
githubGitHub Advisory DatabaseGHSA-J62R-WXQQ-F3GF
HistoryApr 16, 2024 - 12:30 a.m.

mlflow vulnerable to Path Traversal

2024-04-1600:30:33
CWE-22
GitHub Advisory Database
github.com
4
mlflow
path traversal
vulnerability
create_model_version
server
handlers
improper validation
source parameter
arbitrary file read access
sensitive files

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

AI Score

6.7

Confidence

High

EPSS

0

Percentile

10.5%

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 configurations

Vulners
Node
mlflowmlflowRange2.9.2
VendorProductVersionCPE
mlflowmlflow*cpe:2.3:a:mlflow:mlflow:*:*:*:*:*:*:*:*

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

AI Score

6.7

Confidence

High

EPSS

0

Percentile

10.5%

Related for GHSA-J62R-WXQQ-F3GF