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

CVE-2024-45849: MindsDB Eval Injection vulnerability

September 12, 2024 (updated September 16, 2024)

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

References

  • github.com/advisories/GHSA-c85f-pcx6-2ghm
  • github.com/mindsdb/mindsdb
  • github.com/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80
  • github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2024-79.yaml
  • hiddenlayer.com/sai-security-advisory/2024-09-mindsdb
  • nvd.nist.gov/vuln/detail/CVE-2024-45849

Code Behaviors & Features

Detect and mitigate CVE-2024-45849 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.10.5.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-45849.yml

Spotted a mistake? Edit the file on GitLab.

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

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