Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-0520

8.8 · HIGH
Published Jun 6, 2024 lfprojects CWE-22 EPSS 2.40% (83th pctl)

Overview

CVE-2024-0520 is a high-severity vulnerability affecting lfprojects mlflow. It was published on June 6, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

A vulnerability in mlflow/mlflow version 8.2.1 allows for remote code execution due to improper neutralization of special elements used in an OS command ('Command Injection') within the `mlflow.data.http_dataset_source.py` module. Specifically, when loading a dataset from a source URL with an HTTP scheme, the filename extracted from the `Content-Disposition` header or the URL path is used to generate the final file path without proper sanitization. This flaw enables an attacker to control the file path fully by utilizing path traversal or absolute path techniques, such as '../../tmp/poc.txt' or '/tmp/poc.txt', leading to arbitrary file write. Exploiting this vulnerability could allow a malicious user to execute commands on the vulnerable machine, potentially gaining access to data and model information. The issue is fixed in version 2.9.0.

Remediation

Check the references section for vendor advisories and patches from lfprojects. Update mlflow to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
lfprojects mlflow >= 0, < 2.9.0 Affected

Frequently Asked Questions

What is CVE-2024-0520?

CVE-2024-0520 is a high-severity vulnerability affecting lfprojects mlflow. It was published on June 6, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2024-0520?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-0520?

Check the references section for vendor advisories and patches from lfprojects. Update mlflow to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-0520?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-0520 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.