CVE-2024-45851
JSON

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 packageVersionsReported by
mindsdb mindsdbfrom 23.10.5.0 before 24.7.4.1, from 023.10.5.0 before 24.7.4.1CVE List, NVD
mindsdb (PyPI)from 23.10.5.0 before 24.7.4.1GitHub Advisory Database, PyPA Advisory Database

All scores

HiddenLayer8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94CWE-95

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

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

SourceRecordLicence
CVE ListCVE-2024-45851 changed 2024-09-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-wf9g-c67g-h4ch changed 2024-09-16CC-BY-4.0
NVDCVE-2024-45851 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-81 changed 2026-06-10CC-BY-4.0