8.8high
MindsDB Eval Injection vulnerability
- Severity
- 8.8high CVSS:3.1 by HiddenLayer
- Exploit likelihood
- 0.86% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- HiddenLayer
- Also known as
- GHSA-wf9g-c67g-h4chPYSEC-2024-81
Description
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 list item 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mindsdb mindsdb | from 23.10.5.0 before 24.7.4.1, from 023.10.5.0 before 24.7.4.1 | CVE List, NVD |
| mindsdb (PyPI) | from 23.10.5.0 before 24.7.4.1 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| HiddenLayer | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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 list item 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.
NVD (es)
Existe una vulnerabilidad de ejecución de código arbitrario en las versiones 23.10.5.0 a 24.7.4.1 de la plataforma MindsDB, cuando la integración de Microsoft SharePoint está instalada en el servidor. En el caso de las bases de datos creadas con el motor de SharePoint, se puede utilizar una consulta "INSERT" para la creación de elementos de lista. Si una consulta de este tipo está especialmente manipulada para contener código Python y se ejecuta en la base de datos, el código se pasará a una función eval y se ejecutará en el servidor.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-45851 changed 2024-09-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-wf9g-c67g-h4ch changed 2024-09-16 | CC-BY-4.0 |
| NVD | CVE-2024-45851 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-81 changed 2026-06-10 | CC-BY-4.0 |