CVE-2024-45848: MindsDB Eval Injection vulnerability

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

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.

Technologies: mindsdb (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-45848 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-45848 being exploited in the wild.
How severe is CVE-2024-45848?
Low severity, with a CVSS score of 3.1, published 12 September 2024.
Which products and versions are affected?
mindsdb (PyPI) ECOSYSTEM:introduced=23.12.4.0,fixed=24.7.4.1.
Is there a fix for CVE-2024-45848?
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-45848?
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.12.4.0,fixed=24.7.4.1

Identifiers

  • CVE-2024-45848
  • GHSA-9gq6-6936-885w
  • PYSEC-2024-78

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