CVE-2024-45850: MindsDB Eval Injection vulnerability

CVE-2024-45850 · Severity: low · CVSS 3.1 · Published 2024-09-12

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.

Technologies: mindsdb (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-45850 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-45850 being exploited in the wild.
How severe is CVE-2024-45850?
Low severity, with a CVSS score of 3.1, published 12 September 2024.
Which products and versions are affected?
mindsdb (PyPI) ECOSYSTEM:introduced=23.10.5.0,fixed=24.7.4.1.
Is there a fix for CVE-2024-45850?
Yes. mindsdb (PyPI): upgrade to 24.7.4.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-45850?
Check whether you run mindsdb (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • mindsdb (PyPI): upgrade to 24.7.4.1 or later
    pip install "mindsdb>=24.7.4.1"

Affected products

  • mindsdb (PyPI) ECOSYSTEM:introduced=23.10.5.0,fixed=24.7.4.1

Identifiers

  • CVE-2024-45850
  • GHSA-v6g6-3cm3-vf6c
  • PYSEC-2024-80

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.