Skip to content
HighVulnerability

CVE-2024-0520: MLflow command injection when loading dataset from HTTP source URL

Identifier
CVE-2024-0520
Published
Record updated
View JSON
Affected
  • mlflow < 2.9.0
Fixed in
2.9.0
  • released December 6, 2023, 183 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
2.4%

Summary

CVE-2024-0520 affects mlflow/mlflow version 8.2.1. When loading a dataset from an HTTP source URL, the `mlflow.data.http_dataset_source.py` module builds the final file path from the Content-Disposition header or URL path without sanitization. Path traversal or absolute paths such as '../../tmp/poc.txt' let an attacker write arbitrary files, which could lead to command execution and access to data and model information.

Mitigation

The issue is fixed in version 2.9.0.