Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mindsdb
  4. ›
  5. CVE-2024-45848

CVE-2024-45848: MindsDB Eval Injection vulnerability

September 12, 2024 (updated September 16, 2024)

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.

References

  • github.com/advisories/GHSA-9gq6-6936-885w
  • github.com/mindsdb/mindsdb
  • github.com/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80
  • github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2024-78.yaml
  • hiddenlayer.com/sai-security-advisory/2024-09-mindsdb
  • nvd.nist.gov/vuln/detail/CVE-2024-45848

Code Behaviors & Features

Detect and mitigate CVE-2024-45848 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 23.12.4.0 before 24.7.4.1

Fixed versions

  • 24.7.4.1

Solution

Upgrade to version 24.7.4.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')
  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Source file

pypi/mindsdb/CVE-2024-45848.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:56 +0000.