GHSA-v6g6-3cm3-vf6c
MindsDB Eval Injection vulnerability
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-45850
- https://github.com/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80
- https://github.com/mindsdb/mindsdb
- https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2024-80.yaml
- https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb