Browse / Unsafe Model Loading and Supply Chain / CVE-2024-37059
MLFlow unsafe deserialization
- Class
- Unsafe Model Loading and Supply Chain (filed by a model that read the source)
- Technique
- Unsafe deserialisation
- Affected
- mlflow (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 0.6% chance of exploitation in 30 days
How it works, in short
A maliciously uploaded PyTorch model in MLflow is deserialised on load, running attacker-chosen code on the machine that interacts with it. (Our summary, written by a model. The source text is below.)
Details
Deserialization of untrusted data can occur in versions of the MLflow platform running version 0.5.0 or newer, enabling a maliciously uploaded PyTorch model to run arbitrary code on an end user’s system when interacted with.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-37059
- https://github.com/mlflow/mlflow
- https://hiddenlayer.com/sai-security-advisory/mlflow-june2024
Source: GitHub Advisory Database, used under CC BY 4.0.