PyPi: Mindsdb

CVE-2024-45846

Safety vulnerability ID: 73308

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Sep 12, 2024 Updated at Nov 19, 2024
Scan your Python projects for vulnerabilities →

Advisory

An arbitrary code execution vulnerability affects MindsDB, particularly when using the Weaviate, ChromaDB, SharePoint, and VectorDatabase integrations. The vulnerability stems from the use of the eval() function to parse user-supplied data in 'SELECT WHERE' clauses and other input fields. Attackers can exploit this vulnerability by crafting malicious input containing Python code, which the system will execute on the server. This flaw can lead to unauthorized command execution, potentially compromising the system's integrity and confidentiality. The vulnerability falls under CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection'). Users must update to the latest version immediately, which replaces the unsafe eval() function with ast.literal_eval(), effectively mitigating the risk of code injection attacks.

Affected package

mindsdb

Latest version: 24.11.3.0

MindsDB's AI SQL Server enables developers to build AI tools that need access to real-time data to perform their tasks

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 8.8

CVSS v3 Details

HIGH 8.8
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
LOW
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH