CVE-2024-45854
Published: 12 September 2024
Summary
CVE-2024-45854 is a high-severity Deserialization of Untrusted Data (CWE-502) vulnerability in Mindsdb Mindsdb. Its CVSS base score is 7.1 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Python (T1059.006); ranked at the 45.4th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
This vulnerability is AI-related — categorised as Other Platforms; in the Supply Chain and Deployment risk domain; MITRE ATLAS techniques in scope: Direct (AML.T0051.000), Infer Training Data Membership (AML.T0024.000), Financial Harm (AML.T0048.000).
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0112
Vulnerability 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.
- CWE(s)
AI Security AnalysisAI
- AI Category
- Other Platforms
- Risk Domain
- Supply Chain and Deployment
- OWASP Top 10 for LLMs 2025
- None mapped
- Classification Reason
- MindsDB is an open-source AI/ML platform for automating machine learning workflows, data integrations, and AI model deployment, with vulnerabilities in core model handling (deserialization) and integrations with vector databases (e.g., Weaviate, ChromaDB) confirming it as an AI platform.
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Vulnerabilities enable authenticated remote code execution via Python eval injections in queries and deserialization of uploaded malicious models, facilitating Python interpreter execution, ingress tool transfer through model uploads, and exploitation of the MindsDB remote service.
MITRE ATLAS TechniquesAI
MITRE ATLAS techniques
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing supplies malicious serialized objects, detecting unsafe deserialization and supporting corrective actions.
Evaluation of untrusted data handling (deserialization testing) reveals unsafe processing, which the required remediation process addresses.
Untrusted serialized data can be deserialized and observed inside the chamber, blocking gadget-chain exploitation outside the sandbox.
Validates or rejects untrusted serialized data before deserialization occurs.
Identifies and blocks malicious code introduced through deserialization of untrusted data at system boundaries.
Integrity verification of serialized information can detect tampering before deserialization occurs.
Provenance of associated data allows detection of untrusted sources before deserialization or processing occurs.