INCIDENT MAP

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

MindsDB Deserialization of Untrusted Data vulnerability

CVE-2024-45854 · 2024-09-12 high

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
Technique
Unsafe deserialisation
Affected
mindsdb (PyPI)
CVSS
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.5% chance of exploitation in 30 days

How it works, in short

A crafted inhouse model file is deserialised when a describe query touches it, so the embedded payload runs on the server. (Our summary, written by a model. The source text is below.)

Details

Deserialization of untrusted data can occur in versions 23.10.3.0 and newer of the MindsDB platform, enabling a maliciously uploaded ‘inhouse’ model to run arbitrary code on the server when a ‘describe’ query is run on it.

References

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