INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2024-45850

MindsDB Eval Injection vulnerability

CVE-2024-45850 · 2024-09-12 high

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Code and command execution
Affected
mindsdb (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.9% chance of exploitation in 30 days

How it works, in short

A crafted INSERT against a SharePoint-backed database puts Python code into a value that the server passes to eval. (Our summary, written by a model. The source text is below.)

Details

An arbitrary code execution vulnerability exists in versions 23.10.5.0 up to 24.7.4.1 of the MindsDB platform, when the Microsoft SharePoint integration is installed on the server. For databases created with the SharePoint engine, an ‘INSERT’ query can be used for site column creation. If such a query is specially crafted to contain Python code and is run against the database, the code will be passed to an eval function and executed on the server.

References

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