ghsa-j62r-wxqq-f3gf
Vulnerability from github
Published
2024-04-16 00:30
Modified
2024-08-09 18:07
Severity ?
Summary
mlflow vulnerable to Path Traversal
Details
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": [ { "database_specific": { "last_known_affected_version_range": "\u003c= 2.9.2" }, "package": { "ecosystem": "PyPI", "name": "mlflow" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.12.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-1558" ], "database_specific": { "cwe_ids": [ "CWE-22" ], "github_reviewed": true, "github_reviewed_at": "2024-04-16T18:17:11Z", "nvd_published_at": "2024-04-16T00:15:08Z", "severity": "HIGH" }, "details": "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\u0027s 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.", "id": "GHSA-j62r-wxqq-f3gf", "modified": "2024-08-09T18:07:47Z", "published": "2024-04-16T00:30:33Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-1558" }, { "type": "PACKAGE", "url": "https://github.com/mlflow/mlflow" }, { "type": "WEB", "url": "https://huntr.com/bounties/7f4dbcc5-b6b3-43dd-b310-e2d0556a8081" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "type": "CVSS_V3" } ], "summary": "mlflow vulnerable to Path Traversal" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.