CVE-2024-4263: MLflow allows low privilege users to delete any artifact
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.
References
- github.com/advisories/GHSA-p4jx-q62p-x5jr
- github.com/mlflow/mlflow
- github.com/mlflow/mlflow/commit/b43e0e3de5b500554e13dc032ba2083b2d6c94b8
- github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2024-51.yaml
- huntr.com/bounties/bfa116d3-2af8-4c4a-ac34-ccde7491ae11
- nvd.nist.gov/vuln/detail/CVE-2024-4263
Detect and mitigate CVE-2024-4263 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →