An arbitrary code execution vulnerability exists in versions 23.12.4.0 up to 24.7.4.1 of the MindsDB platform, when the ChromaDB integration is installed on the server.
Date: 2024-09
Affected: mindsdb/mindsdb
Attack vector: rce
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-45846
CVE-2024-45848
CVE-2024-45856
CWE: CWE-79
CWE-94
CWE-95
CVSS: 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)

An arbitrary code execution vulnerability exists in versions 23.12.4.0 up to 24.7.4.1 of the MindsDB platform, when the ChromaDB integration is installed on the server. If a specially crafted ‘INSERT’ query containing Python code is run against a database created with the ChromaDB engine, the code will be passed to an eval function and executed on the server.


Mitigations:

Architectural layers (MAESTRO):