Skip to content
HighVulnerability

CVE-2024-45848: MindsDB arbitrary code execution through crafted INSERT queries on ChromaDB

Identifier
CVE-2024-45848
Published
Record updated
View JSON
Affected
  • mindsdb >= 23.12.4.0, < 24.7.4.1
Fixed in
24.7.4.1
  • released July 24, 2024, 50 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%

Summary

CVE-2024-45848 is an arbitrary code execution flaw 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. A specially crafted 'INSERT' query containing Python code, run against a database created with the ChromaDB engine, is passed to an eval function and executed on the server. The weakness is classified as CWE-94 (Improper Control of Generation of Code) and CWE-95 (Eval Injection), and HiddenLayer published the advisory.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.