Advisory

PYSEC-2024-80

Also known as: CVE-2024-45850, GHSA-v6g6-3cm3-vf6c

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-09-12 13:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

mindsdb

PyPI · All systems

Affected

  • introduced 23.10.5.0, fixed 24.7.4.1 (ecosystem)

Fixed versions

24.7.4.1

Fix

  • Fixed version 24.7.4.1
    pip install --upgrade mindsdb==24.7.4.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences