Deserialization of untrusted data can occur in versions 23.3.2.0 and newer of the MindsDB platform, enabling a maliciously uploaded model to run arbitrary code on the server when interacted with.
References:- https://nvd.nist.gov/vuln/detail/CVE-2024-45852
- https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb
- https://github.com/mindsdb/mindsdb/blob/v24.9.2.1/mindsdb/integrations/handlers/byom_handler/proc_wrapper.py#L54-L55
- https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2024-82.yaml
- https://github.com/advisories/GHSA-7vhj-pfwv-hx3w