INCIDENT MAP

Browse / Unsafe Model Loading and Supply Chain / CVE-2024-37058

MLFlow unsafe deserialization

CVE-2024-37058 · 2024-06-04 high

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
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 malicious LangChain AgentExecutor model uploaded to MLflow is deserialised when used, executing attacker-chosen code on the consumer's machine. (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 2.5.0 or newer, enabling a maliciously uploaded Langchain AgentExecutor model to run arbitrary code on an end user’s system when interacted with.

References

Source: GitHub Advisory Database, used under CC BY 4.0.