Advisory

GHSA-wf9g-c67g-h4ch

Also known as: CVE-2024-45851, PYSEC-2024-81

Summary

MindsDB Eval Injection vulnerability

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-09-12 15:33 UTC
Modified
2024-09-16 23:06 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences