Advisory

GHSA-9gq6-6936-885w

Also known as: CVE-2024-45848, PYSEC-2024-78

Summary

MindsDB Eval Injection vulnerability

Details

An arbitrary code execution vulnerability exists in versions 23.12.4.0 up to 24.7.4.1 of the MindsDB platform, when the ChromaDB integration is installed on the server. If a specially crafted ‘INSERT’ query containing Python code is run against a database created with the ChromaDB engine, 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 22:48 UTC

Affected packages and fixes

mindsdb

PyPI · All systems

Affected

  • introduced 23.12.4.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