CVE-2024-4263: Mlflow MLflow Allows Low Privilege Users Vulnerability
MODERATECVE-2024-4263 is a MODERATE (CVSS 5.4) mlflow allows low privilege users vulnerability (CWE-284: Improper Access Control) affecting Mlflow libraries in the PyPI ecosystem. The issue involves mlflow allows low privilege users to delete any artifact. Remediation is available by upgrading affected packages to version 2.10.1.
CVE-2024-4263 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L).
How to Fix CVE-2024-4263
To remediate this vulnerability, upgrade all affected Mlflow dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install mlflow>=2.10.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show mlflow
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-4263, inspect your installed packages using pip:
pip show mlflow
Analyze the terminal output to locate any version of Mlflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.10.1), your application is affected.
Note: The pip show mlflow command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Mlflow, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-4263 Affected Mlflow Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mlflow
|
PyPI |
< 2.10.1
|
2.10.1
|
References
Frequently Asked Questions
What is CVE-2024-4263?
Which Mlflow versions are affected?
What version fixes CVE-2024-4263?
Is mlflow affected?
What is the CVSS score of CVE-2024-4263?
What CWE is associated with CVE-2024-4263?
How can I check PyPI dependencies for CVE-2024-4263?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p4jx-q62p-x5jr",
"modified" : "2024-05-16T17:46:38Z",
"published" : "2024-05-16T09:33:08Z",
"aliases" : [ "CVE-2024-4263" ],
"summary" : "MLflow allows low privilege users to delete any artifact",
"details" : "A broken access control vulnerability exists in mlflow/mlflow versions before 2.10.1, where low privilege users with only EDIT permissions on an experiment can delete any artifacts. This issue arises due to the lack of proper validation for DELETE requests by users with EDIT permissions, allowing them to perform unauthorized deletions of artifacts. The vulnerability specifically affects the handling of artifact deletions within the application, as demonstrated by the ability of a low privilege user to delete a directory inside an artifact using a DELETE request, despite the official documentation stating that users with EDIT permission can only read and update artifacts, not delete them.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "mlflow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.10.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-4263"
}, {
"type" : "WEB",
"url" : "https://github.com/mlflow/mlflow/commit/b43e0e3de5b500554e13dc032ba2083b2d6c94b8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mlflow/mlflow"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2024-51.yaml"
}, {
"type" : "WEB",
"url" : "https://huntr.com/bounties/bfa116d3-2af8-4c4a-ac34-ccde7491ae11"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-16T17:46:38Z",
"nvd_published_at" : "2024-05-16T09:15:16Z"
}
}