Vulnerability · Published Sep 12, 2024 · Assigned by HiddenLayer

CVE-2024-45850

High 8.8

In plain English

A high-severity security flaw in mindsdb from mindsdb. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.9%top 41.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPImindsdb24.7.4.1GHSA-v6g6-3cm3-vf6c
PyPImindsdb24.7.4.1PYSEC-2024-80

Affected products (as reported)

VendorProductVersions
mindsdb mindsdb 23.10.5.0 – before 24.7.4.1

Weakness: CWE-95 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References