Browse / AI Framework and Platform Flaws / CVE-2024-27133
MLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Execution
- Class
- AI Framework and Platform Flaws (filed by a model that read the source)
- Technique
- Cross-site scripting
- Affected
- mlflow (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS
- 0.7% chance of exploitation in 30 days
How it works, in short
Dataset table fields are rendered without sanitization, so an untrusted dataset injects script into the notebook view and runs code on the client. (Our summary, written by a model. The source text is below.)
Details
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-27133
- https://github.com/mlflow/mlflow/pull/10893
- https://github.com/mlflow/mlflow/commit/c43823750bffa5b6abcc086683b15a068513b67b
- https://github.com/mlflow/mlflow/commit/cfa71879a884cc3520e23ccab998c9aa78fdf2b1
- https://github.com/mlflow/mlflow
- https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2024-241.yaml
- https://research.jfrog.com/vulnerabilities/mlflow-untrusted-dataset-xss-jfsa-2024-000631932
Source: GitHub Advisory Database, used under CC BY 4.0.