PyPI: mlflow
CVE-2024-27133
Safety vulnerability ID: SFTY-20240223-42574
Safety legacy ID: pyup.io-68486
Insufficient sanitization in MLflow leads to XSS when running a recipe that uses an untrusted dataset. This issue leads to a client-side RCE when running the recipe in Jupyter Notebook. The vulnerability stems from lack of sanitization over dataset table fields.
Overview
MLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Execution
Advisory
Insufficient sanitization in MLflow leads to XSS when running a recipe that uses an untrusted dataset. This issue leads to a client-side RCE when running the recipe in Jupyter Notebook. The vulnerability stems from lack of sanitization over dataset table fields.
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20240223-42574/CVE-2024-27133
- https://nvd.nist.gov/vuln/detail/CVE-2024-27133
- https://github.com/mlflow/mlflow/pull/10893
- https://research.jfrog.com/vulnerabilities/mlflow-untrusted-dataset-xss-jfsa-2024-000631932
- https://github.com/mlflow/mlflow/commit/c43823750bffa5b6abcc086683b15a068513b67b
- https://github.com/mlflow/mlflow/commit/cfa71879a884cc3520e23ccab998c9aa78fdf2b1
- https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2024-241.yaml
- https://github.com/advisories/GHSA-3v79-q7ph-j75h
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
